is it okay to enable Varnish cache on my Xenforo install

Geiri

Active member
Licensed customer
Are any of you using this and if so is there any thing I have to keep in mind if I enebla?

Varnish cache
Varnish Cache is a powerful web application accelerator/cache technology. If enabled it can possibly make sites 100x faster. However it cannot be used to improve a poorly optimised site with a truckload of bad rotten plugins. It can also possible break your site depending on how it is set up. Still no harm in trying!
 
We got a lot of tickets and support threads related to Varnish.

It requires some setting up and if not done properly, will stop your installation from functioning correctly.
 
  • Nginx (all users' non-cached page)
  • fastcgi_cache or cloudflare (guest full-page cache)
  • Redis (all users' data caching)
 
  • Nginx (all users' non-cached page)
  • fastcgi_cache or cloudflare (guest full-page cache)
  • Redis (all users' data caching)

I have set Redis to cache guests users for 5 mins in the XenForo Config file. Is that a good idea?

What I have noticed is that when I browse on a different IP, new threads don't show up. But when logged in, new threads show up instantly. Sorry for asking a silly question, I am not a programmer; I am still learning Linux.
 
I have set Redis to cache guests users for 5 mins in the XenForo Config file. Is that a good idea?
Just fine for low-traffic sites.
Nginx fastcgi_cache or Cloudflare caching is better.

What I have noticed is that when I browse on a different IP, new threads don't show up. But when logged in, new threads show up instantly. Sorry for asking a silly question, I am not a programmer; I am still learning Linux.
That is normal and expected.
 
Back
Top Bottom