Caching Using mod_expires with expires

How to Cache, and Optimize your sites and servers

Caching Using mod_expires with expires

Postby produke » 25 Sep 2006 12:43

Some hosts have expires and some don't... almost all apache servers can use the header directive.


Code: Select all
### EXPIRES
# month A2592000, week A604800, day A86400, hour A3600,15 min A900
ExpiresActive On
ExpiresDefault A86400
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A2592000
ExpiresByType text/css A2592000
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpeg A604800
ExpiresByType text/plain A604800
ExpiresByType application/x-shockwave-flash A604800
ExpiresByType video/x-flv A604800
ExpiresByType application/pdf A604800
ExpiresByType text/html A900
User avatar
produke
 
Posts: 242
Joined: 25 Sep 2006 04:48

Return to Caching and Optimizing



Who is online

Users browsing this forum: No registered users

cron