Start your All-Access Pass to unlock this challenge
If you make a change to a config file (e.g. cache.yaml) or Twig template, why do you need to clear the cache in the prod environment but not in the dev environment?
cache.yaml
prod
dev
In the dev environment, Symfony is smart enough to rebuild the cache when YAML or Twig files change.
Symfony caches YAML and Twig files in prod, but not in the dev environment.
In the dev environment, Symfony automatically clears its cache before each request.