We are using SG Optimizer on our site for caching. I’ve excluded the necessary pages from cache, but I noticed that caching was not working generally across the site even though it was enabled. I contacted Siteground about it. They escalated it to their engineers who are saying that there is a conflict with event-espresso-core-reg.
They requested that I reach out to find out if you are aware of any specific configuration that needs to be made to prevent the conflict.
Did they provide any more info on what the conflict actually is?
I’m not aware of any issues with Event Espresso conflicting with SG Optimizer other than the fact that you need to exclude EE’s critical pages from caching.
The plugin uses sessions and because of this the header cache-control appears our plugin does not cache. You can provide the plugin developer with this information.”
This header should not be affecting the entire site, right?
I can’t say I understand their reply. One thing you could do is use the WordPress nocache_headers filter hook. This hook allows developers to change the cache-control headers.
You may need to set the priority of the callback to a later priority (e.g. 11 or 99 or if need be higher) if there are other plugins hooking in to the same filter. EE hooks in at priority 10.
Viewing 5 reply threads
The support post ‘Issues with SG Optimizer and Event Espresso’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.