How to use LS cache for my site

Discussion in 'LiteSpeed Cache' started by server4vn, Sep 19, 2011.

  1. server4vn

    server4vn New Member

    Hello
    This LS cache really complicated i tried to add the code to my .htaccess but , no cache hits in Litespeed stats ? Could not you make it like just Enable or Disable or somthing simple as that ? or could you do help to set it up on our site for us ? Please
  2. NiteWave

    NiteWave Administrator

    please give more detail about how you setup the cache.

    you can start to try cache 1 php page.

    what cache guide did you follow?
  3. server4vn

    server4vn New Member

    Hello
    Do you have any Instant Messenger ? We better live chat ? Or what infos do you need to look into this , btw with Litespeed i have a problem like
    the Request in processing is much higher than Request / sec and this make the server running slow , i tried to use Varnish plugin for Cpanel and it run abit faster than Litespeed ( with out cache ) but not stable as Litespeed so i changed to Litespeed and want to check the Cache function but unable to do it . Could i provide all the servers and site info and then you setup the cache for me please ?
    PS : i followed the generale Guide but unsucceful seem NO cache hits .
  4. NiteWave

    NiteWave Administrator

    I can try to set up an example cache for you(e.g., just cache a few pages) and you finish the rest.
  5. server4vn

    server4vn New Member

    Hello
    I ve send you a PM about my server/site detail please help me thanks so much
  6. NiteWave

    NiteWave Administrator

  7. server4vn

    server4vn New Member

    Cache hits / sec seem very low ? Only 2 hits/sec ? while request in processing is like 70/s
  8. server4vn

    server4vn New Member

    Total Req 229,217 Total Cache Hits 9,271
    Cache Hit Rate 4.04% Cache Hits/Sec 2.0

    This is really low i think ?
  9. NiteWave

    NiteWave Administrator

    actually the cache rate is higher than reported.
    since lsws serve static contents efficiently and don't cache them, only cache dynamic pages like php, so the reported rate looks low. the "Total Reqs" include both static and dynamic requests.

    another way to improve the cache hit rate is to improve the rewrite rules in .htaccess and increase cache time.
  10. server4vn

    server4vn New Member

    How to improve rewrite rules
    and what you think is reasonable cache time
    my server spec i told you in PM

Share This Page