Download the PHP package zucommunications/rapidkit_purge without Composer
On this page you can find all versions of the php package zucommunications/rapidkit_purge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zucommunications/rapidkit_purge
More information about zucommunications/rapidkit_purge
Files in zucommunications/rapidkit_purge
Package rapidkit_purge
Short Description A Drupal recipe to install and configure purge modules.
License GPL-2.0-or-later
Homepage https://github.com/ZuCommunications/rapidkit_purge
Informations about the package rapidkit_purge
Rapidkit - Purge Recipe
This recipe sets up varnish purge to connect with your local varnish
How to set up
When installing the recipe, you need to provide the following information:
- Hosted environment a - The hostname for the first deployed environment.
- Hosted environment b - The hostname for the second deployed environment.
IT should be able to provide this information
How to Disable Purger
The purger configuration is set up like this:
$config['purge.plugins']['purgers'][0] : This is the local purger $config['purge.plugins']['purgers'][1] : This is the purger on the first hosted environment $config['purge.plugins']['purgers'][2] : This is the purger on the second hosted environment
So to disable a purger on an environment you can set the value to NULL.
This example disables the purger on both hosting environments, leaving the local purger active. (you would probably want this setup on local)
You can programmatically configure purper configuration per environment by using the $_ENV['APP_ENV'] variable.