# warmup the existing cache but don't clear it $ ./bin/console cache:warmup ( --env = prod | dev ) # in modern Symfony apps: # APP_ENV=prod|dev ./bin/console cache:warmup # clear the existing cache and warm it up $ ./bin/console cache:clear ( --env = prod | dev ) # in modern Symfony apps: # APP_ENV=prod|dev ./bin/console cache:clear # clear the existing cache but don't warm it up $ ./bin/console cache:clear --no-warmup ( --env = prod | dev ) # in modern Symfony apps: # APP_ENV=prod|dev ./bin/console cache:clear --no-warmup