Expires headers not showing
-
Nginx config looks like this, and everything appears to be working perfectly, except the expires header has no effect. Have they been working elsewhere? Any thoughts?
location ~* ^/?content/.*\.(png|jpe?g)$ { add_header Vary Accept; expires 365d; if ($http_accept !~* "webp") { break; } try_files $uri.webp /content/plugins/webp-express/wod/webp-on-demand.php?xsource=x$request_filename&wp-content=content ; }
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Expires headers not showing’ is closed to new replies.