• Resolved Tano

    (@tanohex)


    I’m using LiteSpeed Cache v5.7 on WP v6.3.2, LSWS v6.1.2, and I’m experiencing a weird issue.

    After decoupling/disabling the QUIC CDN, which was used successfully for a while, LiteSpeed now serves the cached pages only when you access the page for the first time. If you hit Refresh in the browser, you get served the uncached page.

    Page uncached by LiteSpeed Cache 5.7 on 2023-10-24

    I tried disabling/enabling the plugin, deleting all cache (including the one on the server), and still the same issue.

    What could cause this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Tano

    (@tanohex)

    Well, this is a funny one.

    I found that disabling the Load JS Deferred (which is causing issues with some plugins), also causes my issue.

    After I set the JS to either Deferred or Delayed, the cache works properly again, with a hit on every page load, but my page is broken…

    Plugin Support qtwrk

    (@qtwrk)

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter Tano

    (@tanohex)

    @qtwrk Report number: KJXEZMER

    Thanks!

    Plugin Support qtwrk

    (@qtwrk)

    huh ? wait a second , let me get this right , you mean if you don’t enable that defer JS option , the page is not getting cached ?

    Thread Starter Tano

    (@tanohex)

    @qtwrk Exactly.

    However, the JS Deferred or Delayed thing stopped doing this today.

    What I did:

    1. Ran LiteSpeed with QUIC Cloud for 6+ months without an issue.
    2. Disabled and disconnected, QUIC a few days ago, and reverted to my hosting’s NS.
    3. Disabled the Guest Mode and Guest Optimization.
    4. Purged the entire cache (site + server).

    Result:

    LiteSpeed Cache serves a cached page ONLY the first time you access any page in my website.

    So if you have never visited my website, and you go to mywebsite.com for the first time, you get served a cached page.

    Once you start browsing the website (or refresh the page you’re on), all the pages are served uncached.

    If you close the browser, open it and visit the website again, you’ll get served an uncached page.

    So basically, now, LiteSpeed Cache works only for first time guest users.

    I don’t even know what else to do. I tried changing presets, enabling/disabling things and still nothing.

    It feels like somehow, my domain got stuck in the QUIC Cloud cache or something, and this messes up the actual caching of the plugin on my server…

    Plugin Support qtwrk

    (@qtwrk)

    em , now that is weird , please try this

    put to the setting whatever that leads you to no-cache

    go to toolbox -> debug setting -> debug log on ALL , log level to advance , add test debug include URI

    open your page where it is not cached like https://yourdomain.com/?test once page is loaded , go to toolbox -> log view , copy paste the log to https://pastebin.ubuntu.com/ and share it to me.

    • This reply was modified 1 year, 4 months ago by qtwrk.
    Thread Starter Tano

    (@tanohex)

    @qtwrk You’re the man!

    Enabling debug and running the website with it on for a few minutes, seems to have fixed my issue.

    This really was a weird one…

    Edit:

    I spoke too soon. It started doing this again.

    Debug: https://pastebin.com/Zk6fU2AV

    *It seems to work fine for a while, after debug is turned off, but after ~10 minutes and some browser cache deletes, it breaks again…

    • This reply was modified 1 year, 4 months ago by Tano.
    • This reply was modified 1 year, 4 months ago by Tano.
    Plugin Support qtwrk

    (@qtwrk)

    hmmm? log is still incorrect, did you clean up before hand , and also debug include URI test, and access it with ?test query ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cache issue’ is closed to new replies.