The Reverse Caching Proxy modules utilises an additional Varnish Cache Server:
Page requests go to the Varnish Cache server. if a cached version of the page is available, this version is presented to the end user. If no cached version is available the request then goes to the Easysite server to generate the content dynamically.
Components
In addition, to standard Easysite hosting requirements, the following components are required:
Linux Server | Debian 7.4 “wheezy” | 2 CPU, 4GB RAM, 100GB Storage.* * Shared between OS, Varnish Cache, Redis and logging. |
Varnish Cache | 3.0.5 | 3GB malloc cache |
Redis Server | 2.4.14 | Less than 512mb is required. Mainly used for list of domains and session specific data. |
For support with installing and configuring the Varnish and Redis servers, please contact your Account Manager.
Configuring web.config
To support and enable the Reverse Caching Proxy (Varnish Cache) HTTP Module, please ensure that the web.conf file contains the following lines:
<modulesrunAllManagedModulesForAllRequestsequests="true">…
<addnamean>name="EasySiteAuthentication"type="EasySite.HttpModules.Authentication" />
<addnamean>name="EasySiteHandleRequest"type="EasySite.HttpModules.HandleRequest" />
<addnamean>name="Compression"type="EasySite.HttpModules.DataCompressor, EasySite" />
<addnamean>name="Conversion"type="EasySite.HttpModules.ContentConversionModule, EasySite" />
<addname="VarnishCache"type="EasySite.Modules.ReverseCachingProxy.VarnishCache.VarnishCacheHttpModule, EasySite" />…
</modules>