Not necessarily, I think is a matter of how comfortable we are with a product.Litespeed with FastCGI is the way to go with xF
Don't know about LiteSpeed, but I know with OpenLiteSpeed I never could get the xCache/Memcache to work. Of course it appears that it may have been due to the fact that I was assigned 2GB to Memcached and 1GB to xCache.Litespeed with FastCGI is the way to go with xF
You can fastcgi_cache everything, with Nginx. Follow the documentation, is extremely easy. I say this because pasting some configuration values is useless, as the cache needs to be tweaked based on your site needs. Example of my cached site, only for guests with a 10min refresh interval:
https://www.axivo.com/community/
Not necessarily, I think is a matter of how comfortable we are with a product.
http://nginx.org/en/docs/http/ngx_http_fastcgi_module.htmlwould post an example configuration??
I said it many times, the proper way to learn is by reading the documentation. Copy/Paste is not the proper way to deal with Nginx. If you need/want that, you can rely on Google and implement 90% of the guides out there that are just plain wrong. Instead, take the time to read and understand what Nginx cache does. Once you understand, you will agree with my reply.to receive this type of response would not need to have posted ..
Example of my cached site, only for guests with a 10min refresh interval:
https://www.axivo.com/community/
Well one valid way of learning is to start by imitation and to get your head around it first. There's nothing wrong with learning by exampleI said it many times, the proper way to learn is by reading the documentation. Copy/Paste is not the proper way to deal with Nginx. If you need/want that, you can rely on Google and implement 90% of the guides out there that are just plain wrong. Instead, take the time to read and understand what Nginx cache does. Once you understand, you will agree with my reply.
Try to visit 2 URL's repeatedly by clicking on them repeatedly, instead of doing a page refresh. I block page refreshes with Nginx by allowing only 5 requests/second up to a burst of maximum 30. If you refresh the page, you will start noticing images missing and other things broken on the page until eventually Nginx will show a warning.For me, this site is not really fast. How do you chache a xenforo site ONLY for guests?
Try to visit 2 URL's repeatedly by clicking on them repeatedly, instead of doing a page refresh. I block page refreshes with Nginx by allowing only 5 requests/second up to a burst of maximum 30. If you refresh the page, you will start noticing images missing and other things broken on the page until eventually Nginx will show a warning.
As far as the cache for guests, I use a map to filter the cookies for XenForo and Facebook mixed with a conditional into /community location. So basically if a specific cookie is present, the cache will be turned off automatically. You can check this by adding the upstream_cache_status variable into logs to show the cache status of a page (HIT, MISS etc.). Now time to go back to documentation and transpose everything I said into reality. I know you can do it, if you have roadblocks post them here and I will help... but I will NOT do a copy/paste spoon feed.
Any progress on this?My fastcgi_cache only works with the headers ignored. If I comment that line out, the cache does not work for "pretty urls" anymore.
We use essential cookies to make this site work, and optional cookies to enhance your experience.