Skip to content
Snippets Groups Projects
Commit 88713e0c authored by ale's avatar ale
Browse files

Only serve wp-supercached static files when Accept includes text/html

Attempts to fix the content negotiation caching issue #134.
parent 1a16bbe8
No related merge requests found
Pipeline #60819 passed
......@@ -45,6 +45,7 @@ RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} ^$
RewriteCond %{HTTP:Accept} text/html
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment