usuario2 Posted March 21 Share Posted March 21 Hello, I want to enable cache via cli in order to do automatically on demand. I know how can I clear cache: /usr/bin/php8.1 bin/console cache:clear -e prod But I don't find any way to activate the cache. In case that is possible to active via console, how can I add "memcached" and a server in cache config (from cli)? Thanks in advance. Regards, David. Link to comment Share on other sites More sharing options...
Krystian Podemski Posted March 22 Share Posted March 22 Hello David You can try to use prestashop:config command. https://devdocs.prestashop-project.org/8/development/components/console/prestashop-config/ Link to comment Share on other sites More sharing options...
usuario2 Posted March 25 Author Share Posted March 25 On 3/22/2024 at 1:52 PM, Krystian Podemski said: Hello David You can try to use prestashop:config command. https://devdocs.prestashop-project.org/8/development/components/console/prestashop-config/ Hello Krystian, Thank you for your reply. I followed the documentation, but it doesn't indicate how to activate the cache from cli. Do you have any command to try? Or do you know what parameters I need to modify on database in order to activate? Thanks in advance. David. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now