Return to Snippet

Revision: 33966
at October 15, 2010 07:37 by iloveitaly


Initial Code
# 1 YEAR
<FilesMatch "\.(ico|pdf|flv)$">
Header set Cache-Control "max-age=29030400, public"
</FilesMatch>

# 1 WEEK
<FilesMatch "\.(jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=604800, public"
</FilesMatch>

# 2 DAYS
<FilesMatch "\.(xml|txt|css|js)$">
Header set Cache-Control "max-age=172800, proxy-revalidate"
</FilesMatch>

Initial URL

                                

Initial Description

                                

Initial Title
Cache Images Apache Server

Initial Tags
apache, cache

Initial Language
Apache