Hello All,
I'm a Litespeed user and have not yet configured Litespeed cache.
For caching currently I'm running wordpress sites with w3 total cache with disk enhanced mode and APC opcode for database and objects.
When disk enhanced mode is enabled additional htacces rules are being applied like so;
# BEGIN W3TC Page Cache cache
FileETag MTime Size
<IfModule mod_mime.c>
AddType text/html .html_gzip
AddEncoding gzip .html_gzip
AddType text/xml .xml_gzip
AddEncoding gzip .xml_gzip
</IfModule>
<IfModule mod_deflate.c>
SetEnvIfNoCase Request_URI \.html_gzip$ no-gzip
SetEnvIfNoCase Request_URI \.xml_gzip$ no-gzip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html M7200
</IfModule>
<IfModule mod_headers.c>
Header set X-Powered-By "W3 Total Cache/0.9.2.8"
Header set Vary "Accept-Encoding, Cookie"
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
# END W3TC Page Cache cache
This is causing me some encoding issues as strange characters start to appear within the content, which I suspect is a result of compressing content twice maybe.
I started this thread in releation to the WP extension and then realised that it's probably caused by my environment.
http://wordpress.org/support/topic/...d-a-characters-appear?replies=10#post-3840966
Anyhow, what I would like to understand is what is the most effective configuration for cache that would give me the performance I'm looking for and resolve this problem with encoded characters appearing.
i.e. do I just need to change some htaccess directives and which ones
OR
should I be using Litespeed cache in this setup and how should I configure it
Your advice for a noob on Litespeed would be appreciated.
Oh you can see some examples of the problem on these sites under development.
http://www.giftsandmerchandise.co.uk/
http://www.portablegeneratorreviews4u.com/ - this one is worse
Thanks,
Nic
I'm a Litespeed user and have not yet configured Litespeed cache.
For caching currently I'm running wordpress sites with w3 total cache with disk enhanced mode and APC opcode for database and objects.
When disk enhanced mode is enabled additional htacces rules are being applied like so;
# BEGIN W3TC Page Cache cache
FileETag MTime Size
<IfModule mod_mime.c>
AddType text/html .html_gzip
AddEncoding gzip .html_gzip
AddType text/xml .xml_gzip
AddEncoding gzip .xml_gzip
</IfModule>
<IfModule mod_deflate.c>
SetEnvIfNoCase Request_URI \.html_gzip$ no-gzip
SetEnvIfNoCase Request_URI \.xml_gzip$ no-gzip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html M7200
</IfModule>
<IfModule mod_headers.c>
Header set X-Powered-By "W3 Total Cache/0.9.2.8"
Header set Vary "Accept-Encoding, Cookie"
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
# END W3TC Page Cache cache
This is causing me some encoding issues as strange characters start to appear within the content, which I suspect is a result of compressing content twice maybe.
I started this thread in releation to the WP extension and then realised that it's probably caused by my environment.
http://wordpress.org/support/topic/...d-a-characters-appear?replies=10#post-3840966
Anyhow, what I would like to understand is what is the most effective configuration for cache that would give me the performance I'm looking for and resolve this problem with encoded characters appearing.
i.e. do I just need to change some htaccess directives and which ones
OR
should I be using Litespeed cache in this setup and how should I configure it
Your advice for a noob on Litespeed would be appreciated.
Oh you can see some examples of the problem on these sites under development.
http://www.giftsandmerchandise.co.uk/
http://www.portablegeneratorreviews4u.com/ - this one is worse
Thanks,
Nic
Last edited by a moderator: