Return to Snippet

Revision: 33313
at October 7, 2010 21:12 by odenijs


Initial Code
# turn on the module for this directory

ExpiresActive on

# set default

ExpiresDefault "access plus 24 hours"

ExpiresByType image/jpg "access plus 1 months"

ExpiresByType image/gif "access plus 1 months"

ExpiresByType image/jpeg "access plus 1 months"

ExpiresByType image/png "access plus 1 months"

ExpiresByType text/css "access plus 1 months"

ExpiresByType text/javascript "access plus 1 months"

ExpiresByType application/javascript "access plus 1 months"

ExpiresByType application/x-shockwave-flash "access plus 1 months"

Initial URL

                                

Initial Description

                                

Initial Title
Set content expiration  in htaccess

Initial Tags
htaccess, apache

Initial Language
Apache