govcms_akamai_purge
39 sites
Security covered
The GovCMS Akamai Purge module assists with integrating Drupal websites with the GovCMS provided Akamai service. This module integrates with the purge module suite to provide reverse proxy invalidation behaviour for GovCMS users who are hosting on the GovCMS platform.
This module is intended to be a companion module to assist with integrations for GovCMS platform users.
What does this module do?
- Adds the Edge-Cache-Tag header to all requests that are cacheable
- Hashes the tags to make them shorter before adding them to the above header
- Adds a purger instance with values dynamically set from the environment
- Sends a purge request to the service using the Purge Late Runtime processor
- Provides a custom administration form to support path invalidation
How does it work?
It uses configured environment variables to provide configuration values to send internal HTTP requests to an API proxy which handles validating and authorisation for GovCMS sites. It uses the following environment variables to provide configuration values:
- LAGOON_PROJECT
- AKAMAI_PURGE_TOKEN
- AKAMAI_PURGE_SERVICE_HOSTNAME
- AKAMAI_PURGE_SERVICE_PORT
- AKAMAI_PURGE_SERVICE_SCHEME