litespeed cache on subdomain not working

Discussion in 'LiteSpeed Cache General' started by darley, Jul 21, 2013.

  1. darley

    darley New Member

    I did not found my question on litespeed website (forum/wiki).

    I bought and install at our server Litespeed 2 cpus with cpanel.

    I setup to use the Cache.

    everything is working well, but:

    my principal domain is caching everything and looks good.

    but I have a subdomain, for static itens like js, css and images; but this IS NOT CACHING.

    at the Real Time Stats, I can see the principal be serving by the cache, but the static subdomain (, still showing "Total Cache Hits = 0".

    I did not found how to fix it...

    anyone can give me a help?


    Darley Cassimiro:confused:
  2. NiteWave

    NiteWave Administrator

    did quick check on

    litespeed cache only dynamic content, like php page; no cache static pages like css/js/images. since static pages is fast enough to serve directly by litespeed.

    litespeed may cache css/js/images if it's configured as a proxy. i.e.,
    litespeed is the front end web server, no static css/js/images exist on this front end server, all contents is from a backend server. in this case, litespeed will cache css/js/images from other physical server.

    but still these css/js/images are dynamic requests to litespeed, so litespeed can cache them.

Share This Page