No cache when using with PHP session
-
I’m using a membership plugin that requires to run session_start() on template_redirect hook, to detect the login status of members. From the PHP manual, this function sets a cookie and cache-control header to no-cache, which prevent Surge from caching the page.
As the plugin is mandatory, I can’t disable it to make caching work. Is there any workaround?
Just a note: this doesn’t happen with WP Super Cache.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘No cache when using with PHP session’ is closed to new replies.