• Resolved Mattw1000

    (@mattw1000)


    Hi,

    Just started using, great plug in! i think i have most things working on it but for some reason the browser cache doesnt seem to be working.

    if you can please check the page source of this url
    https://www.calmhappyhealthy.com

    you’ll see the the litespeed server is hit but the browser cache seems to be saying this when i check the page in chromes console, network…

    cache-control:no-store, no-cache, must-revalidate

    i have used other browser caches like keycdns cache enabler and it was working ok, so i think my server is set up to work with a browser cache

    any ideas please?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Cold Egg

    (@eric780217)

    Hi Mattw,

    Checked from dev tool, looks browser cache is working.

    View post on imgur.com

    Best,
    Eric

    Thread Starter Mattw1000

    (@mattw1000)

    ok thanks! Can i confirm please, if i see this at the bottom of the page source…

    <!– Page generated by LiteSpeed Cache 1.6.2.1 on 2017-11-10 15:43:38 –>

    does that also show me browser caching is working please?

    I’m just a bit lost why in the chrome console, in network if i look att he pages response headers its saying…

    cache-control:no-store, no-cache, must-revalidate

    and also

    cache-control:max-age=0

    Thanks!
    Matt

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi, Matt

    That comment in the page source shows that the page was processed by LiteSpeed, but it doesn’t indicate whether the browser cache is working.

    The cache-control headers are referring to the HTML page, not to the static resources on that page. We actually don’t want the browser to cache the HTML page, as that is LiteSpeed’s job. If the browser is caching the full page, then LiteSpeed can’t work as advertised, and there’s a chance the browser will serve stale content.

    I see you have
    x-litespeed-cache:hit
    on your site, and that is good.

    The browser should only be caching things like CSS, JavaScript, JPG, PNG, etc, and you can see that is what is happening via the image that Eric posted.

    Let me know if you have any other questions!

    Plugin Support Cold Egg

    (@eric780217)

    Additional information about verification.
    1. Try clean all from C:\Users\[User_Name]\AppData\Local\Google\Chrome\User Data\Default\Cache
    2. Access page https://www.calmhappyhealthy.com
    3. Check Cache folder again, see any browser cache file generated

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Browser cache not working’ is closed to new replies.