How to set the cache-control sent to a user’s browser?

Quick guide on how to change the headers sent to the browser

You can use an .htaccess file in your public_html folder to control the cache headers sent to the browser.

For example, this can be used to control what should not be cached in your visitors’ web browser.

Please see the following article for additional information to learn how to prevent the caching of particular filenames using an .htaccess file: http://www.askapache.com/htaccess/using-http-headers-with-htaccess.html#prevent-caching-with-htaccess

Posted 2008-05-02 in Linux Web Hosting