M
M
makedonets2018-03-25 23:47:17
Magento
makedonets, 2018-03-25 23:47:17

How to disable cache in magento?

Good afternoon. Enabled caching in the admin panel. And compression of all scripts. After that, the buttons in the admin panel are unavailable (when clicked, nothing happens). Does anyone know how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
imdeveloper, 2018-03-26
@makedonets

There are several more options for disabling the cache if you cannot do it through the admin panel:
Go through the SSH console to the Magento root directory and run the command : php bin/magento cache:disableand just in case clear the cache : php bin/magento cache:flush
Or
Edit the app/etc/env.php file : in the block

'cache_types' => 
  array (
    'config' => 0,
    'layout' => 0,
    'block_html' => 0,
    'collections' => 0,
    'reflection' => 0,
    'db_ddl' => 0,
    'eav' => 0,
    'customer_notification' => 0,
    'config_integration' => 0,
    'config_integration_api' => 0,
    'full_page' => 0,
    'translate' => 0,
    'config_webservice' => 0,
  ),

set everything to 0 and save

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question