Twenty things you didn’t know you could do with your apache web server caching.
You know that part of your website that you never update? Sure, it’s “dynamic”–the content rests in a database and gets loaded with every request–but you haven’t updated it since last Christmas. Yet every time someone loads that page, it hits the database, and it’s slow.
One thing you may not have known about your Apache web server is that it can fix that problem for you. Content that never changes shouldn’t require CPU cycles to generate.
mod_cache has been around for a while, but there are some new features in it that can help you make better use of your server’s resources. Although people have traditionally used the caching capabilities of mod_cache with proxied content, that isn’t its only feature. You can also cache your dynamic content and serve it as rapidly as on-disk files.
Other options are:
- Speed up Apache 2.0 web access or downloads with mod_deflate
- Enable the query cache in MySQL to improve performance
Caching Dynamic Content with Apache httpd [onlamp.com]
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
- RSS feed or Weekly email newsletter
- Share on Twitter • Facebook • 0 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |