• Resolved 20112011

    (@20112011-1)


    Hey guys,
    I am using Dreampress from Dreamhost,
    I have a trouble that wpforo is causing Varnish not to be able to cache my site,
    This in turn causing my site to load slower and consume more resources,
    making heavy use of php sessions which is blocking cache

    I was able to find this suggestion:

    Navigate to Dashboard > Forums > Settings > Features admin page
    and set “No” the “Enable wpForo SEO for Meta Titles” option.

    And set “No” in the “Enable Output Buffer” option.

    But still wpforo causing such a large amount of issues with its own PHP session use

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    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.

    Plugin Author gVectors Team

    (@gvectors-team)

    And all suggestions are made for fixing wpForo issues affected by Varnish. These suggestions are not made to fix Varnish, please read attentive.

    Thread Starter 20112011

    (@20112011-1)

    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.
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘varnish’ is closed to new replies.