Quantcast
Channel: wp-super-cache – WordPress.org Forums
Viewing all articles
Browse latest Browse all 3480

_ck_ on "[Plugin: WP Super Cache] difficult problem with double "Content-Encoding: gzip""Content-Encoding: gzip""

$
0
0

Okay figured out a simple workaround if anyone runs into this in the future

in phase1 just return false when testing gzip_accepted

function gzip_accepted(){ return false;

This way supercache still makes the .gz files for direct serving via nginx but will use the non-gzip version of the file when it falls through to legacy mode when a url query is present. Then nginx will still gzip the output properly.


Viewing all articles
Browse latest Browse all 3480

Trending Articles