AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] WPForo with Varnish

3 Posts
3 Users
0 Reactions
2,008 Views
Posts: 1
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@quentinb)
New Member
Joined: 7 years ago
[#9237]

Hello there,

Got a little issue with your plugin working along with Varnish. 
Obviously here's what I got while testing if Varnish is properly working on my site : (attach file)

I tried to disabled features from wpForo or find a way to limit the set-cookies to only Forum pages but nothing works so far (maybe I'm missing something). 

Here's the "curl -I myurl.com" result :

HTTP/2 200 

cache-control: public, max-age=600

content-type: text/html; charset=UTF-8

link: < https://dev-mysite.pantheonsite.io/wp-json/>; rel="https://api.w.org/"

link: < https://dev-mysite.pantheonsite.io/>; rel=shortlink

server: nginx

set-cookie: SESSacc6532b7fec69a7ae2d4467de9b70dd=d77b19681c22f821ffdc8ad59c2035e9; expires=Mon, 08-Jul-2019 12:12:13 GMT; Max-Age=0

set-cookie: SSESSacc6532b7fec69a7ae2d4467de9b70dd=b42337a5ef828f72f75c08a71173a149; path=/; domain=.dev-mysite.pantheonsite.io; secure; HttpOnly

x-pantheon-styx-hostname: styx-fe3-85f59bbfdd-svp59

x-styx-req-id: 4936abdb-ff17-4c17-99fd-1eb35ab94602

accept-ranges: bytes

accept-ranges: bytes

via: 1.1 varnish

age: 0

accept-ranges: bytes

accept-ranges: bytes

date: Mon, 08 Jul 2019 12:12:14 GMT

via: 1.1 varnish

age: 0

x-served-by: cache-mdw17368-MDW, cache-lcy19243-LCY

x-cache: MISS, MISS

x-cache-hits: 0, 0

x-timer: S1562587933.245035,VS0,VE761

vary: Accept-Encoding, Cookie, Cookie

x-robots-tag: noindex

 

So Age: 0 and there's a Max-Age set to 0 too. If I deactivate wpForo, varnish is just working fine. 
I'm not really a WordPress expert and it's pretty much a nightmare to work on 😖.

I've checked most of the relative subject in your forum/wp-forum but didn't found any way to fix it properly so far.

Is there any 'known' fix for this kind of issue? Am I missing something?

Thanks,
Quentin

 

 

 Screen Shot 2019 07 08 at 1.08.44 PM

2 Replies
Sofy
Posts: 5775
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi @quentinb,

Thank you for contacting us.

You should exclude wpForo page (e.g. /community/*) from caching plugins. wpForo has own cache system. It comes with four different built-in caching systems.

Also, wpForo has a filter that allows reducing the cookies:

wpforo_cookie_max_logged_topics.

You can also fully disable Forum Cookies. The option is located in Dashboard > Forums > Tools > Privacy & Rules admin page.


Posts: 1593
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@anonymous20)
Noble Member
Joined: 10 years ago

I think Varnish is not controlled by a WP Plugin and we are not talking about a caching plugin.

So, your hosting provider could help more on this, on how to exclude wpForo pages and test.


Share: