Disable / enable cache per environment |
Hi,
is it possible to enable / disable the cache for development end production? I want to disable the cache in dev and enable in production
@groovebird you mean at writable/cache ?
(10-13-2022, 10:56 AM)captain-sensible Wrote: @groovebird you mean at writable/cache ? My driver is a filecache, then yes writable/cache if the page cache is stored there. In development i don't want to clear the cache after changes
Something like this?
PHP Code: if (ENVIRONMENT === 'production') {
|
Welcome Guest, Not a member yet? Register Sign In |