Message-ID: <1764538833.2992.1485851537269.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_2991_1406988100.1485851537269" ------=_Part_2991_1406988100.1485851537269 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
eZ Platform being built on top of Symfony, it uses standard HTTP= cache headers. By default the Symfony reverse proxy, written in PHP, is us= ed to handle cache, but it can be easily replaced with any other reverse pr= oxy like Varnish.
Use of Varnish is a requirement for use in Clustering setup, for ove= rview of clustering feature see Clustering.
For Varnish to work properly with eZ, you'll need to use one of the prov= ided files as a basis:
Note: Http cache management is done with the help of FOSHttpCacheBundle. You may need to tweak your VCL f= urther on according to F= OSHttpCache documentation in order to use features supported by it.
<VirthualHost *:80> # Configure your VirtualHost with rewrite rules and stuff # Force front controller NOT to use built-in reverse proxy. SetEnv USE_HTTP_CACHE 0 =09# Configure IP of your Varnish server to be trusted proxy # Replace fake IP address below by your Varnish IP address SetEnv TRUSTED_PROXIES "193.22.44.22" </VirtualHost>=20
fastcgi_param USE_HTTP_CACHE 0; # Configure IP of your Varnish server to be trusted proxy # Replace fake IP address below by your Varnish IP address fastcgi_param TRUSTED_PROXIES "193.22.44.22";=20
ezpublish: http_cache: purge_type: http system: # Assuming that my_siteaccess_group your frontend AND backend sitea= ccesses my_siteaccess_group: http_cache: # Fill in your Varnish server(s) address(es). purge_servers: [http://my.varnish.server:6081]=20