How to improve Apache httpd performance with mod_cache – caching dynamic content

Twenty things you didn’t know you could do with your apache web server caching.

ADVERTISEMENTS

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:

Caching Dynamic Content with Apache httpd [onlamp.com]

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
0 comments… add one

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.