Save cache in config

Permalink
Hi All
In 5.6 I can use the below code:
Config::save('ENABLE_CACHE', 0);


But in 5.8, how do I do that?

Rony

ronyDdeveloper
 
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
Any thoughts on this. I'm really in a need to fix this.
Cahueya replied on at Permalink Reply
I think if you put this

return [
    'cache' => [
        'blocks' => false,
        'assets' => false,
        'theme_css' => false,
        'overrides' => false,
        'pages' => '0',
        'full_page_lifetime' => 'default',
        'full_page_lifetime_value' => null,
        'clear' => [
            'thumbnails' => false,
        ],
];


in /root/application/config/concrete.php

it should to the same thing. And yes. Change the values to what you actually want.