How to delete the cache?

cache
command-line
(Dmitry Fedyuk) #1

Method 1

rm -rf app/cache/*

Method 2

app/console cache:clear --env=prod

app/console cache:clear not only deletes the cache, but produces the new one.
It is the same as:

rm -rf app/cache/* && app/console cache:warmup --env prod
0 Likes

Where is the application URL stored? How to get it? How to change it?
Some useful console commands for me