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]