Hello, I'm using Laravel package(lscache-laravel), when the user login and after that logout and login again the cache is not cleared and the webserver is responding with a cached version of the page(header x-litespeed-cache: hit). The whole website is using vuejs as frontend for auth is used the default one
After user has logged in and logged out, I'm purging the cache.
Settings of lscache.php config are:
esi = false
default_ttl= 300
default_cacheability = public
guest_only=true
I put ->header('X-LiteSpeed-Purge', 'stale,*'); on response on login/logout but the cache again is not purged after the 2-nd login.
I'm using OpenLiteSpeed.
After user has logged in and logged out, I'm purging the cache.
Settings of lscache.php config are:
esi = false
default_ttl= 300
default_cacheability = public
guest_only=true
I put ->header('X-LiteSpeed-Purge', 'stale,*'); on response on login/logout but the cache again is not purged after the 2-nd login.
I'm using OpenLiteSpeed.