12-23-2011, 01:43 AM
Join Date: May 2007
|Some searching shows this is a common problem with anything that tries to pre-cache .gz (also drupal)
I cannot find a way to trick litespeed into ignoring .gz files regardless of content-type
This does NOT solve the problem
I guess I will have to force super-cache to not pre-gzip
Header set Content-Encoding "gzip"
Perhaps in 4.2 you can add compression exclusions based on physical file extension (not url but source)
Or filematch compression disabling via htaccess, maybe setting an ENV flag that litespeed will obey?
BTW the reason why you do not want to turn off the gzip management in wp-super-cache, is that on a busy site there may be hundreds if not thousands of files that are compressed and have to be expired periodically. Then litespeed has to do double the effort in watching for expired files, when they could have been purged directly in the super-cache directories. I use a cron to expire them efficiently so it doesn't overwhelm the OS.
Last edited by aww; 12-23-2011 at 01:52 AM..