Cache clearing: comparison of v.6 vs v.7
Versions Compared
Old Version 6
changes.mady.by.user André Rømcke
Saved on Jan 21, 2016
compared with
New Version Current
changes.mady.by.user Dominika Kurek
Saved on Jan 22, 2016
Key
- This line was added.
- This line was removed.
- Formatting was changed.
...
Out of the box Symfony provides a command to perform cache clearing. It will delete all file-based caches, which mainly consist of Twig template, Symfony container, and Symfony route cache, but also everything else stored in cache folder. Out of the box on a single-server setup this includes "Content cache". For further information on use, see the help text of the command:
...
| Info | ||
|---|---|---|
|
||
| In Clustering setup (several web servers), the command to clear file cache needs to be executed on each and every web server! |
...
For Cluster setup, the content cache (HTTPCache and Persistent Cache) must be setup set up to be shared among the servers. And while all the relevant cache is cleared for you on repository changes when using the API'sAPIs, there might be times where you'll need to clear cache manually:
...
Comments
Add a comment