When should I consider caching?

ArtG

Active member
Hi all,

I run a small forum that is growing. The move to 2.3 has me thinking about site performance and I began to explore caching as it was something very simple to do when I only ran a Wordpress blog. Now on the latest version of Xenforo, things seem to be more complicated.

Do you have any thoughts or opinion on when I should consider learning up on caching to improve site speed? No, members are not complaining, I’m just thinking about the future positively.

Thanks for your thoughts.

Art
 
Hi @CedricV - I’ve read some of your posts and they have been over my head on the technical side.

My development is done. I’m just growing now.
 
Hi @CedricV - I’ve read some of your posts and they have been over my head on the technical side.

My development is done. I’m just growing now.
Don't worry, we all start somewhere - and I have much to learn myself.

What I advise is, looking into the Clouflare addon from DigitalPoint, that's a good start. If you need any help feel free to report back.

 
Hi all,

I run a small forum that is growing. The move to 2.3 has me thinking about site performance and I began to explore caching as it was something very simple to do when I only ran a Wordpress blog. Now on the latest version of Xenforo, things seem to be more complicated.

Do you have any thoughts or opinion on when I should consider learning up on caching to improve site speed? No, members are not complaining, I’m just thinking about the future positively.

Thanks for your thoughts.

Art
There are levels of caching. The one I use is built into xenforo. Simply add $config['cache']['enabled'] = 'true' to your /src/config.php
 
There are levels of caching. The one I use is built into xenforo. Simply add $config['cache']['enabled'] = 'true' to your /src/config.php

And precisely what does that do? And is it compatible with Cloudflare caching?

The master cache enable only works when a specific cache type is specified and running on your server. Memchache is one of the most basic.
 
Yep, not for my case and I think that before recommending adding this line in config.php it is prudent to ask the person concerned what the characteristics of their hosting are. Sometimes a single poorly defined parameter and your site is down... Especially when you play with caches.
 
Yep, not for my case and I think that before recommending adding this line in config.php it is prudent to ask the person concerned what the characteristics of their hosting are. Sometimes a single poorly defined parameter and your site is in the air... Especially when you play with caches.
Exactly, adding the line specified by @Seeker-Smith in post #5 without the appropriate cache setup, running and correctly configured in your config.php can cause problems or even keep the complete site from loading.
When in doubt, read first and follow the complete XF documentation concerning the options you wish to apply.
 
Last edited:
Exactly, adding the line specified by @Seeker-Smith in post #5 without the appropriate cache setup, running and correctly configured in your config.php can cause problems or even keep the complete site from loading.
When in doubt, read first and follow the complete XF documentation concerning the options you wish to apply.
All I can say is @MySiteGuy setup my config and tuned my server. That is the setting he used and it's worked fine since it was done.
 
Yeah, keep it of course, MySiteGuy knows exactly what he's doing. My point is to not recommend this setting, just like that without knowing anything else about the server configuration of the person you are recommending it to, it's not that simple, it's not magic. MySiteGuy has globally configured your server and this line in config.php is one of the parameters.

Read what we write, it makes sense.
 
Back
Top Bottom