Return to Snippet

Revision: 14222
at May 25, 2009 06:39 by dennyhalim


Initial Code
ExpiresActive On
ExpiresDefault A6048000
FileETag none
Header unset Etag
Header unset Last-Modified
Header set Cache-Control "public"

<FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi|html?)$">
Header set Cache-Control "private, must-revalidate, proxy-revalidate"
ExpiresDefault A0
ExpiresActive Off
</FilesMatch>

Initial URL
http://wiki.dennyhalim.com/htaccess

Initial Description
long htaccess expired header for all files except for server side scripts

Initial Title
super over simplified cache control and expire header htaccess

Initial Tags
header, simple, htaccess, cache

Initial Language
Apache