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

last updated in Categories Apache, Howto, Linux, Tuning, UNIX

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:

Caching Dynamic Content with Apache httpd [onlamp.com]

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 0 comments/add one below):