He didn't implemented it here :(
add xf_style_id=xx|xf_style_id=xx Code: # Don't use the cache for logged in users and Don't use the cache for guest change style if ($http_cookie ~* "xf_session_admin|xf_user|xf_user_admin|xf_style_id=xx|xf_style_id=xx") { set $no_cache 1; }
I don't really know what Floren mean here Nginx Fastcgi_cache configuration for Xenforo Board | XenForo Community
@RoldanLT has a tendency to ask things on 200 forums, except AXIVO. I told him exactly what to do, but instead of following my advice, he posts things all over the places "hoping" it will work.
problem "Stay Logged In" checked by default (XenForo v1.0.x and 1.1.x) | XenForo Community or "Stay Logged In" checked by default (XenForo 1.2/1.3) | XenForo Community
I hide it and checked by default. Matt has most solid config here: https://www.axivo.com/threads/nginx-fastcgi_cache-specific-for-xenforo.80/#post-307 Only problem now is when a user login via Google+, receives an error
Is it possible to use fast cgi cache path to a tmpfs partition without doing the trick for guests ? And it will really help or it is only for the trick with the guests?
what do you mean tricks for guests ? fastcgi_cache is predominantly only used for caching for guests never logged in users - same goes for wordpress and fastcgi_cache - guests only
It works only if you do the cookie trick for guests or it works in general for guests without any cookie settings?
Every web/php app will need some form of cookie manipulation and/or understanding of that web/php app's cookie/session functionality to properly implement fastcgi_cache for nginx/php-fpm. It's one reason I can implememt fastcgi_cache for wordpress and just a bit off and not able to for xenforo as I know wordpress well and xenforo not as well. Hence, why fastcgi_cache is left to end users to do as it requires an understanding of the web/php app itself to properly implement. It's same for Varnish Cache too, understanding the web/php app is important - especially for how the web/php app deals and uses cookies/sessions for guests and non-guests.
Hi, I just register here today. I came from IPB, just mover last weekend to XF and I'm loving this in IPB I use this same technic to cache pages for guest, but with xf I don't see xf_user or xf_user_admin in my headers, Do theses cookies still exists in XF1.4? I only see xf_session_admin and xf_session Thanks
I have posted on XF Community XenForo Forum with Nginx fastcgi_cache full page guest caching | XenForo Community
If you're not familar with fastcgi_cache, I would use a different caching method as fastcgi_cache is left to end user to customise. Though excluding home page location context / is difficult as is due to location match. As to changing time it's in fastcgi_cache_valid Module ngx_http_fastcgi_module
One way is exclude the homepage i though but i didn't Actually, my forum installed on /forum/ directory and i've tried the exclude /forum/, /forum or like /forum/index.php but it didn't, it exludes all forum and sub pages. What are u using on that forum @eva2000 ? Only nginx pagespeed or what?