Title: Cache issue
Last modified: October 24, 2023

---

# Cache issue

 *  Resolved [Tano](https://wordpress.org/support/users/tanohex/)
 * (@tanohex)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/cache-issue-61/)
 * 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](https://wordpress.org/support/users/tanohex/)
 * (@tanohex)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/cache-issue-61/#post-17148038)
 * 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](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/cache-issue-61/#post-17148207)
 * please provide the report number , you can get it in toolbox -> report -> click“
   send to LiteSpeed”
 *  Thread Starter [Tano](https://wordpress.org/support/users/tanohex/)
 * (@tanohex)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/cache-issue-61/#post-17148765)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/) Report number: **KJXEZMER**
 * Thanks!
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/cache-issue-61/#post-17151209)
 * 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](https://wordpress.org/support/users/tanohex/)
 * (@tanohex)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/cache-issue-61/#post-17151910)
 * [@qtwrk](https://wordpress.org/support/users/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](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/cache-issue-61/#post-17154259)
 * 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/](https://pastebin.ubuntu.com/)
   and share it to me.
    -  This reply was modified 2 years, 7 months ago by [qtwrk](https://wordpress.org/support/users/qtwrk/).
 *  Thread Starter [Tano](https://wordpress.org/support/users/tanohex/)
 * (@tanohex)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/cache-issue-61/#post-17159409)
 * [@qtwrk](https://wordpress.org/support/users/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](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 2 years, 7 months ago by [Tano](https://wordpress.org/support/users/tanohex/).
    -  This reply was modified 2 years, 7 months ago by [Tano](https://wordpress.org/support/users/tanohex/).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/cache-issue-61/#post-17159545)
 * 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.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/cache-issue-61/#post-17159545)
 * Status: resolved