Tag: mod_expires

About

This module controls the setting of the Expires  HTTP header in server responses. The expiration date can set to be relative to either the time the source file was last modified, or to the time of the client access.

The Expires HTTP header is an instruction to the client about the document's validity and persistence. If cached, the document may be fetched from the cache rather than from the source until this time has passed. After that, the cache copy is considered "expired" and invalid, and a new copy must be obtained from the source.

From httpd.apache.org/docs/1.3/mod/mod_expires.html

 

If you're running Squid to cache your website, you can use an htaccess file to control what kind of files should be cached, and for how long.