To configure the Reverse Caching Proxy module go to Administration -> Apps -> Modules -> Reverse Caching Proxy:
2. Edit/configure: General settings
Active
Check to make the module active.
Server Instance Hash
Identifier for the current Easysite instance. All options and cached objects are tagged with this value to ensure server association.
Note: changing the instance identifier will disassociate all the old remote configurations (i.e. in Varnish Cache and Redis).
Master proxy server address
The HTTP address of the Varnish Cache server. It’s assumed that the Redis server is also available at this address on the default port.
Note: Please ensure the address entered is functional, otherwise all subsequent operations may become sluggish or timeout.
Purge options
Purge options purge the cached version of the page, and create a new cache when a page is saved. Select the domain(s) these options apply to.
Disable logged-in user cookie
If required, disable the logged-in cookie. Note: If this is disabled, the proxy will not be able to detect a logged in user and may end up caching user-specific content.
Disable Custom Cache Headers
Disables custom headers. This will prevent generating “Page content hash” and other control headers.
Do not cache
No caching is applied and the page is loaded dynamically on each request.
Enable HTTP-FORWARDED-PROTO header (SSL)
Specifies whether to accept this specific SSL header from the proxy to test for SSL.
Restrict Proto Header to IP(s)
Ensure the SSL header is from a proxy. This is to prevent normal users from forging SSL source.
Domain setup
Select Load from site to generate a list of domains to be cached. This option loads all domains from the current site into Redis data store. The domains are mapped to the server hash for association with the current server instance.
If required, check to remove a domain.
Pass-through Mode
This option temporarily disables all caching for this server instance. The “Check” button will confirm the current mode.
Flush all caches
Clears all caches for the server instance.
Maintenance Mode
The Maintenance Mode tab at the top of the screen allows the administrator to create a message, which is display whilst the site is unavailable for maintenance. In this instance a cached version of the site is presented, with the interactive functionality such as form submit buttons being hidden. The maintenance mode message is displayed in the header of the site.
The Maintenance Mode button at the bottom of the screen put the site into maintenance mode. The button text changes to indicate that clicking again will take the site out of maintenance mode.