You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…eneration (xabbuh)
This PR was merged into the 2.8 branch.
Discussion
----------
[Cookbook][Debugging] reflect behavior changes in cache generation
| Q | A
| ------------- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | 2.8+
| Fixed tickets | #6169
Starting with Symfony 2.8, the class cache is generated when the cache
is warmed up. This means that you cannot prevent the cache from being
generated, but you must simply not load it to ease debugging. Also, this
means that you have to ignore the cache files in your IDE now if it
cannot deal with them properly.
Commits
-------
6ef2099 reflect behavior changes in cache generation
In http://symfony.com/doc/current/cookbook/debugging.html#disabling-the-bootstrap-file-and-class-caching say that you can disable the generation of the class cache by removing the call to the
loadClassCache()
method from theKernel
class. However, this is no longer true with the newClassCacheCacheWarmer
that was introduced in Symfony 2.8 and generates the class cache when the application cache is warmed up (see also symfony/symfony#17439).The text was updated successfully, but these errors were encountered: