10-15-2011, 04:55 AM
Join Date: Apr 2009
litespeed cache not working ?
i implemented cache in server config > cache option as per blog i used following commands to create cache directory
but when i tried to save path and file size 200kb , i got error path is not writable, i made it chmod 0777 and litespeed accepted it,
chown nobody:nobody /tmp/diskcache
chmod 700 /tmp/diskcache
i gave other settings as :-
Cache Request with Query String:Yes
Cache Request with Cookie:yes
Cache Response with Cookie:yes
Ignore Request Cache-Control:yes
Ignore Response Cache-Control:yes
Enable Private Cache: no
Private Cache Expire Time (seconds): 120
next to test cache i choose a vbulletin site with high traffic and copy pasted this code in .htaccess :-
RewriteRule cacheable/(.*\.php)?$ - [L,E=cache-control:max-age=120]
even after 24 hours i see "0" cache hit rate ?
are my settings wrong or that .htacces doesnt work for vbulletin ?