Skip to content

Commit 2f77355

Browse files
committed
[Upgrading] Recommend to delete cache when upgrading to a major version
1 parent a08515a commit 2f77355

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

setup/upgrade_major.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,16 @@ Next, use Composer to download new versions of the libraries:
182182
183183
$ composer update "symfony/*"
184184
185+
It's also recommended to clear the cache after updating to a new major version:
186+
187+
.. code-block:: terminal
188+
189+
# this deletes the development cache in your local machine
190+
$ php bin/console cache:clear
191+
192+
# also delete the production cache in your local machine
193+
$ APP_ENV=prod php bin/console cache:clear
194+
185195
.. include:: /setup/_update_dep_errors.rst.inc
186196

187197
.. include:: /setup/_update_all_packages.rst.inc

0 commit comments

Comments
 (0)