OLS x-litespeed-cache-control: no-cache

Attiqfsd

Verified User
Joined
Dec 14, 2021
Messages
6
I was trying to make sure I have the OpenLiteSpeed server cache properly setup on my DirectAdmin server. And I did not realize that LSCache works by default. By mistake I followed this guide and did not realize it's for LiteSpeed Web Server.

Configuring LiteSpeed Web Server with DirectAdmin

Now the x-litespeed-cache-control header is stuck at no-cache, even though I have undo the file changes I made and rebuilt the OpenLiteSpeed from CustomBuild 2.0

LSCache WP Plugin log is showing these

Code:
[Ctrl] ❌ forced no cache [reason] DONOTCACHEPAGE const
Core] Silence Comment due to REST/AJAX
 X-LiteSpeed-Cache-Control: no-cache
[Core] CHK html bypass: miss footer const

Can someone please help me fix this? I want to change the no-cache back to MISS/HIT
 
Last edited:
Back
Top