You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your Drupal site is setting a session cookie on non-homepage pages, then it's likely causing Drupal to set the cache-control headers with must revalidate, private, no cache etc. Usually a session cookie will be set on pages that have search or input fields, login fields, or other features that require tracking a session data. We experienced this on our site and had to make some adjustments to our pages. LSCache will basically tell LSWS to cache any page that Drupal would normally set cache control headers on to public, max-age=XXXX. So you have to do the work in Drupal to get LSCache to act as desired.
I can see the headers
X-LiteSpeed-Cache: hit
orX-LiteSpeed-Cache: miss
only in the homepage. I cannot see these headers in other pages of the site.How to reproduce
I added this module to an existing site, enabled the module and enabled the Debug option.
Expected behavior
I would expect to see a hit or a miss on every page.
Things I've tried
Thank you for your work on this module.
The text was updated successfully, but these errors were encountered: