LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > litespeed cache not working ?

Reply
 
Thread Tools Display Modes
  #1  
Old 10-15-2011, 03:55 AM
bhanuprasad1981 bhanuprasad1981 is offline
Senior Member
 
Join Date: Apr 2009
Posts: 160
Question litespeed cache not working ?

i implemented cache in server config > cache option as per blog i used following commands to create cache directory

Code:
mkdir /tmp/diskcache
chown nobody:nobody /tmp/diskcache
chmod 700 /tmp/diskcache
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,


i gave other settings as :-
Enable Cache:No
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 :-

Code:
RewriteEngine On
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 ?
Reply With Quote
  #2  
Old 10-15-2011, 04:21 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
for vBulletin, please refer:
http://www.litespeedtech.com/support...ead.php?t=4829
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:41 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.