XF 1.4 Cache, simple as adding some lines?

SEOmers

Active member
I've noticed that my site motovlog.com has started to get a bit sluggish at times. The one thing that I haven't done yet is caching.

Is it really as simple as adding some lines from this? https://xenforo.com/help/cache/

$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';

How often does the cache reset etc? I don't want people to post then have to wait ages for it to show up?
 
There is more to it than that. You have to enable a specific cache backend.

Provided your cache has enough space to hold the data being cached, you don't really need to worry about managing it. Entries will generally be updated when necessary.
 
If you're on a shared server, the cache isn't likely to help you as you won't meet the requirements for a caching system that would provide a benefit (generally Memcached, though single server memory caches can be used if they have been configured correctly; on a shared server you wouldn't have control over this).

I would echo that it sounds like an overloaded or non-optimally configured server.
 
Top Bottom