[Plugin: Events Manager] Don't set PHPSESSION cookie for every visitor at the site
-
I’ve noticed every visitor to my site get set at PHP session cookie.
I dumped the PHP session database and the content seems to be:array(1) { ["events-manager"]=> array(1) { ["notices"]=> string(83) "a:4:{s:6:"errors";a:0:{}s:5:"infos";a:0:{}s:6:"alerts";a:0:{}s:8:"confirms";a:0:{}}" } }
Why do you need to set this cookie to each and every visitor to the site? Isn’t it enough to set PHP sessions to WP admins or people who submit events, or register or something?
The cookie is bad because is bursts caches. Even with correct cache and expire headers set, proxies and caches will refuse to cache anything from my site as long as they detect a session cookies, because that implies that the content varies from user to user, when it in fact does not.
- The topic ‘[Plugin: Events Manager] Don't set PHPSESSION cookie for every visitor at the site’ is closed to new replies.