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:
- Ran LiteSpeed with QUIC Cloud for 6+ months without an issue.
- Disabled and disconnected, QUIC a few days ago, and reverted to my hosting’s NS.
- Disabled the Guest Mode and Guest Optimization.
- 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 ?