Support How to setup Xenforo Cache?

ThanosCrax

Loyal Member
MANUAL: Cache support - XenForo 2 Manual
I got this manual from Xenforo but the only thing I could setup is

Code:
$config['cache']['enabled'] = true;
$config['pageCache']['enabled'] = true;
$config['cache']['sessions'] = true;


image7b8887e992133620.md.png
in /src/config.php

I can see xenforo has given us various options for caching:
XenForo ships with several popular cache providers including:

  • APC
  • File system cache
  • Memcached
  • Redis
  • WinCache
  • XCache
  • ... and more!
WHICH ONE IS THE BEST TO USE?
& HOW TO SETUP IT?
 
Solution
Just optimize database by rebuilding users cache, delete logs, and disable plugins that slows down website, enable firewall on your server.


Also prune old conversations.

If you still see your website slow, you will need to optimize server ;)

Marks-Man

Loyal Member
MANUAL: Cache support - XenForo 2 Manual
I got this manual from Xenforo but the only thing I could setup is

Code:
$config['cache']['enabled'] = true;
$config['pageCache']['enabled'] = true;
$config['cache']['sessions'] = true;


image7b8887e992133620.md.png
in /src/config.php

I can see xenforo has given us various options for caching:

WHICH ONE IS THE BEST TO USE?
& HOW TO SETUP IT?
I always like to get rid of cache.
Cache can cause problems on Client/Server side, Login/Logout Problems....
I don't recommend to use cache.
If you really want to use cache use cloudflare cache with rocket loader 😅
 

XenForo

Administrative
For example
PHP:
$config['pageCache']['enabled'] = true;
Causes a lot of problems for the site and browser console errors
Activating these two does not pose a big problem and of course depends on your server host
PHP:
$config['cache']['enabled'] = true;
$config['cache']['sessions'] = true;
 

ThanosCrax

Loyal Member
I always like to get rid of cache.
Cache can cause problems on Client/Server side, Login/Logout Problems....
I don't recommend to use cache.
If you really want to use cache use cloudflare cache with rocket loader 😅
image797322ef9c940172.md.png
Its enabled but does no work but slows down my website more
imagebc1eb5fa833886bc.md.png
xD
 

ThanosCrax

Loyal Member
For example
PHP:
$config['pageCache']['enabled'] = true;
Causes a lot of problems for the site and browser console errors
Activating these two does not pose a big problem and of course depends on your server host
PHP:
$config['cache']['enabled'] = true;
$config['cache']['sessions'] = true;
yes well I have these 3 enabled
image38d91fa6593e8e6d.md.png

But I found a lot of people using other providers to make cache even more stable
image5811bf3f7ac55226.md.png
LIKE THESE: Cache support - XenForo 2 Manual
[They provide more power to cache I guess]
 
Back
Top Bottom