litespeed cache not working ?

Discussion in 'General' started by bhanuprasad1981, Oct 15, 2011.

  1. bhanuprasad1981

    bhanuprasad1981 Well-Known Member

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

    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 :-

    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 ?
  2. NiteWave

    NiteWave Administrator

Share This Page