6

I have an automated job which converts our production database backups into development-friendly databases. I'd like to include the disabling of Magento's cache in this job as well, but haven't found where it would be configured.

I've looked in core_config_data but didn't see any relevant records. What tables and records would I need to update to be equivalent to System > Cache Management > Select All [check-boxes] > Actions = Disable > Submit?

asked Jun 17, 2014 at 14:26

2 Answers 2

9

All of the cache information is stored inside a table named core_cache_option.

If you browse to this table you will see that it contains a code and a value; the code being the type of cache and the value being a 0 or 1 representing off or on. Simply change the values based upon your needs.

answered Jun 17, 2014 at 14:28
1

this will be the query

UPDATE `core_cache_option` SET `value`='0' WHERE 
`code`='translate';
answered Jan 18, 2018 at 9:32

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.