[Skip to content]

Search our Site
Easysite Resource Centre
Deploying Reverse Caching Proxy

Deploying Reverse Caching Proxy

The Reverse Caching Proxy modules utilises an additional Varnish Cache Server:

Exaplanatino of forward and reverse proxy servers

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.


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


3GB malloc cache

Redis Server


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:


   <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" />


Article comments