Bug: Plugin creates unnecessary PHP session, making pages not cacheable
-
Hi again,
This plugin seems to create an unnecessary PHP session which prevents pages from caching. I’m no expert on PHP sessions by any means, but my hosting company told me that my homepage is not cacheable because a PHP session is created by a plugin. I’ve tracked it down to this plugin (by deactivating plugins in turn).
Everything I know about PHP sessions is from this article: https://pressjitsu.com/blog/wordpress-sessions-performance/. See the section under the heading ‘WordPress Does Not Use PHP Sessions’.
It looks like the plugin starts a PHP session in its
init()
function. There may well be a valid reason why this is being done, but I would suggest that there would also be a way to avoid the problem of the plugin stopping websites from caching properly… Like I said, I’m no expert, but would appreciate some support here.Hope this makes some sense!!
Tim
- The topic ‘Bug: Plugin creates unnecessary PHP session, making pages not cacheable’ is closed to new replies.