I don’t think wpForo can affect Varnish, this is something impossible. wpForo only exists in one WordPress page (forum page). So it doesn’t have any affection on other parts of your website and on your server.
I’d say the Varnish may affect wpForo but not vice versa.
And all suggestions are made for fixing wpForo issues affected by Varnish. These suggestions are not made to fix Varnish, please read attentive.
Our support told me about php session,
Is it possible to remove php sessions from the plugin code, and if so.. how?
is it ok to remove it? any side effects? or maybe i should try alternative like suggest hosting provider to skip their varnish from the forum page?
-
This reply was modified 7 years, 12 months ago by
20112011.
-
This reply was modified 7 years, 12 months ago by
20112011.
In general, forums are not easily cached.
1) Logged in users don’t see fully cached content
2) Every time a page is updated, the cache for that page (and anything related – like the subforum listings) are flushed to ensure new content
But yeah, if there are php sessions then _nothing_ get’s cached, because sessions tells PHP “This user needs a user-specific version of the page!” Ergo, no cache 🙁
That said. It SHOULD only mess with caching on the forums pages, so the rest of your site should be just fine. I checked the code and based on how output-buffer is called, it’s only putting down sessions on pages where the shortcode is loaded.
Turn off that option and it should get better.