Hi, we have recently upgrade our server to use LiteSpeed web server.
We are using the LsCache plugin to do some server caching for our websites. (This is a composer package): You can read more here
There is a setting to set the header to no-cache for auth user.
This is perfect for the control panel, because I dont want my admin to be cache on the server.
When you go to the login page. I have a problem with a single route "/cp".
I need to be able to set the header to no-cache for this route. Otherwise, my user cannot login to the CP.
Where can I change the header for this route? Not sure where to go.
Is it possible to add a middleware on top of this route to change the header.
Something like this: