is it ok on apache ?
to trouble-shooting the issue, need more info.
for example, lsphp5 version
#/usr/local/lsws/fcgi-bin/lsphp5 -i |head
and lsws version, lsphp5 ext app settings.
I think so, 4.2.2 has new cache feature and we've done many internal tests, most likely it has fixed some cache bugs in older release.
yes, I've adjusted cache settings exactly with yours, and result is as expected:
X-LiteSpeed-Cache: hit,private
yes, 4.2.2 has been out for a while
http://www.litespeedtech.com/litespeed-web-server-release-log.html
and has run on some production server and I think it's stable enough now.
you can switch between 4.2.1 and 4.2.2 anytime later without change the configuration file.
to manually...
my test result always:
X-LiteSpeed-Cache: hit,private
here's one of result:
~>curl -i 127.0.0.1/r.php
HTTP/1.1 200 OK
Date: Tue, 12 Feb 2013 10:55:17 GMT
Server: LiteSpeed/4.2.2 Enterprise
Connection: Keep-Alive
Keep-Alive: timeout=5, max=100
X-LiteSpeed-Cache: hit,private...
hmm ... I'd like to reproduce your result, to find out possible bugs.
what's the cache policy you set ? and any other rewrite rules ?
I did tests only for this simple php:
/usr/local/lsws/DEFAULT/html>cat r.php
<?php
echo date("c");
echo "\n";
?>
RewriteCond %{HTTP_HOST} ^www\.beckenbodentrainer\.info$
RewriteRule ^/?$ "http\:\/\/beckenbodentrainer\.info\/" [R=301,L]
should be better to change to
RewriteCond %{HTTP_HOST} ^www\.beckenbodentrainer\.info$
RewriteRule ^(.*)$ http://beckenbodentrainer.info/$1 [R=301,L]
maybe there are...
for example, in .htaccess,
RewriteRule \.php - [E=Cache-Control:private,E=Cache-Control:max-age=300]
or
RewriteRule \.php - [E=Cache-Control:private]
RewriteRule \.php - [E=Cache-Control:max-age=300]
I tested the 2 websites you provided in 1st post, they're ok but server is cloudflare-nginx. not sure if litespeed is ok now.
since the 2 sites under development, best to serve directly by litespeed, not behind cloudflare for easier to test.
please try to change to
<IfModule litespeed>
RewriteRule \.html_gzip$ - [E=no-gzip:1,NC]
RewriteRule \.xml_gzip$ - [E=no-gzip:1,NC]
</IfModule>
see if it works.