Message-ID: <1194132410.3164.1485852249230.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3163_1426409320.1485852249230" ------=_Part_3163_1426409320.1485852249230 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This page describes commands involved in clearing cache from the= command line.
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, S= ymfony container, and Symfony route cache, but also everything else stored = in cache folder. Out of the box on a single-server setup this includes "Con= tent cache". For further information on use, see the help text of the = command:
php app/console --env=3Dprod cache:clear -h=20
On each web server
In Clustering setup (sev= eral web servers), the command to clear file cache needs to be execute= d on each and every web server!
For Cluster setup, the conte= nt cache (HTTPCache and= Persistent Cache)<= /em> must be set up to be shared among the servers. And while all relevant = cache is cleared for you on repository changes when using the APIs, there m= ight be times where you'll need to clear cache manually: