Symfony-docs: Warn users that clearing the cache will sometimes make database connections

Created on 27 May 2016  路  2Comments  路  Source: symfony/symfony-docs

See https://github.com/symfony/symfony/issues/18853 for details. This is a feature/bug of Symfony/Twig, so it will take some time to fix it. Meanwhile, let's add some warnings in the docs.

Most helpful comment

Actually, it's during cache warmup, not cache clear. Also, it should be made more obvious that running cache:clear actually triggers a cache warmup by default (i.e. without the --no-warmup option).

All 2 comments

Actually, it's during cache warmup, not cache clear. Also, it should be made more obvious that running cache:clear actually triggers a cache warmup by default (i.e. without the --no-warmup option).

Closing it as "fixed" because the related Doctrine issue was finally solved. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nyholm picture Nyholm  路  4Comments

javiereguiluz picture javiereguiluz  路  4Comments

samjarrett picture samjarrett  路  4Comments

Kwadz picture Kwadz  路  3Comments

javiereguiluz picture javiereguiluz  路  3Comments