Static File Cache for Images just sets to public
-
Hello, i have a Problem with the browser caching (static file caching). It appears that my cache-control header is set to public for my images, but it should have public with a max-age parameter.
I have set my WP Optimize Static File Cache to 7 Days, however it doesnt work.
My .htaccess WP Optimize Cache Section is the follwing. Please note that something is off with the format (no tags) in this post.BEGIN WP-Optimize Browser Cache
ExpiresActive On ExpiresByType text/css "access 7 days" ExpiresByType text/html "access 7 days" ExpiresByType image/gif "access 7 days" ExpiresByType image/png "access 7 days" ExpiresByType image/jpg "access 7 days" ExpiresByType image/jpeg "access 7 days" ExpiresByType image/webp "access 7 days" ExpiresByType image/x-icon "access 7 days" ExpiresByType application/pdf "access 7 days" ExpiresByType application/javascript "access 7 days" ExpiresByType text/x-javascript "access 7 days" ExpiresByType application/x-shockwave-flash "access 7 days" ExpiresDefault "access 7 days"Header set Cache-Control "public" Header set Cache-Control "public" Header set Cache-Control "private" Header set Cache-Control "private, must-revalidate" Disable ETagFileETag None END WP-Optimize Browser CacheIs this how it should work?
The topic ‘Static File Cache for Images just sets to public’ is closed to new replies.