Extension, Module

Archived
Forum
(read-only)

CE Cache

ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Causing Effect

     

File Caching not working

Support (Resolved)

Itopia Interactive
Itopia Interactive

We have the same site on a Dev, Staging & Production environment.

CE Cache works like a dream, out the box, on the Dev & Production environments & the debug output reads:

*  CE Cache Ce_cache::save debug: The data for ‘ce_cache/cbdb55/local/home’ was successfully cached using the file driver.

But on the Staging server it only ever reads:

*  CE Cache Ce_cache::save debug: The data for ‘ce_cache/cbdb55/local/home’ was successfully cached using the dummy driver.

I’ve tried setting the driver in the config & also directly on the cache:it tag eg: {exp:ce_cache:it id=“home” seconds=“3600” drivers=“file”}

Doesn’t matter what I do the Staging site only ever uses the Dummy Driver. Cannot figure out what the problem is.

Any ideas ?

Causing Effect - Aaron Waldon
# 1
Developer
Causing Effect - Aaron Waldon

Hi Itopia Interactive!

Sorry for the late reply. The file driver will not work if the ExpressionEngine cache directory does not have adequate write permissions.

You can change the CE Cache path using the ce_cache_file_path config setting (see the configuration page for more details), but you’ll need to ensure that directory has adequate permissions too if you chose to go that route.

I hope that helps. :)