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
Hey, first of all thanks for the excellent plugin, it works incredibly well out of the box!
I have been poking through the plugin source code and I can't seem to find the logic that disables/prevents caching for logged in users.
What I am hoping is possible is that I can create a custom config file like this Surge Configuration Example. And setup some logic to enable caching for logged in users with a certain custom role (essentially a role that only has frontend access).
If you could point me in the direction of how Surge currently identifies logged in users I'd really appreciate it.
The text was updated successfully, but these errors were encountered:
I tried using the header_remove() code snippet above, and it wasn't working properly for me. I tried nocache_headers() instead, and that seems to be working.
Hey, first of all thanks for the excellent plugin, it works incredibly well out of the box!
I have been poking through the plugin source code and I can't seem to find the logic that disables/prevents caching for logged in users.
What I am hoping is possible is that I can create a custom config file like this Surge Configuration Example. And setup some logic to enable caching for logged in users with a certain custom role (essentially a role that only has frontend access).
If you could point me in the direction of how Surge currently identifies logged in users I'd really appreciate it.
The text was updated successfully, but these errors were encountered: