Cache static content = F
|
05-20-2012, 04:38 AM
Post: #1
|
|||
|
|||
Cache static content = F
Greetings everyone,
I am hoping to get some clarification on how to resolve failing at "Leverage browser caching of static assets." I am an Apache setup with my hosting company. I tried so many different setups in my htaccess file which I received from discussions here and elsewhere however I just cannot get my images to show it's caching. Some of the things I tried are (caching for 2 days)... --------------- <filesMatch "\.(png|jpg|ico|gif|jpeg)$"> Header set Cache-Control "max-age=172800, public, must-revalidate" </filesMatch> -------------------------------------- <FilesMatch "\.(png|jpg|ico|gif|jpeg)$"> Header set Cache-Control "max-age=172800, public, must-revalidate" Header unset Pragma Header unset Last-Modified Header unset ETag FileETag None </FilesMatch> --------------------------------------------- ExpiresActive On ExpiresDefault A0 <filesMatch "\.(png|jpg|ico|gif|jpeg)$"> Header set Cache-Control "max-age=172800, public, must-revalidate" </filesMatch> ------------------------------------------- I just don't know what I am doing wrong or missing. I would GREATLY appreciate any assistance or feedback. Thanks! |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Cache static content = F - Arris - 05-20-2012 04:38 AM
RE: Cache static content = F - pmeenan - 05-21-2012, 11:21 PM
RE: Cache static content = F - Arris - 05-22-2012, 08:03 AM
|
User(s) browsing this thread: 1 Guest(s)