Disabling cache-enabler on local environment and setting settings in code
-
Hi there,
is it somehow possible to disable caching on a local environment? Is it enough to set WP_CACHE to FALSE?I do not mean deactivating the plugin, as I want to be able to set the settings etc. for the staging/production site locally. But maybe a filter/hook that I can call so that caching is disabled in a certain environment.
Something that could be added maybe to functions.php or to some other file.
Other question:
What is the best way to export plugin settings to use across different sites?
Or is there a way to pass a settings array via a filter and I can do it totally programmatically? That would be my ideal scenario.Thanks,
Sascha
- The topic ‘Disabling cache-enabler on local environment and setting settings in code’ is closed to new replies.