Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Purge Akamai Optimizer

Security covered

Part of the Purge ecosystem · 14 projects

View on drupal.org

INTRODUCTION

Provides various optimisations for akamai caching and purge processing.
As per https://learn.akamai.com/en-us/webhelp/fast-purge/fast-purge/GUID-588747... there are various limits which
akamai imposes for its edge cache tag header, This main Drupal Akamai module by
default do handle some of these restrictions, and this module provides solution
for the same.

REQUIREMENTS

Purge module. See: https://www.drupal.org/project/purge.
Akamai module. See: https://www.drupal.org/project/akamai
To work correctly, this patch (https://www.drupal.org/project/akamai/issues/3160999#comment-13762094) needs to be applied on Akamai module

INSTALLATION

Refer the Purge documentation to get more details on how to setup the various
purge modules and processors.
https://git.drupalcode.org/project/purge/-/blob/8.x-3.x/README.md

Also refer Akamai documentation for configuring Akamai setup.
https://git.drupalcode.org/project/akamai/-/blob/8.x-3.x/README.md

MODULE FEATURES

  • Solves the problem of akamai edge cache tag header limit of 8192 characters
    • This is achieved by created 5 character hashes of each tag.
  • Includes the functionality of reducing more than 128 tags on a page.
    • Provides a configuration to define prefixes for the tags which should be replaced with an identifier.
    • In edge cache tag header for all the tags which are matching the prefix are replaced with an identifier.
    • Sending replacement tags during purge for the tags which have been removed.
    • Replacement identifiers are stored in a custom table. Also various cron jobs are added to analyse priority tags and automatically remove old records from this table.
  • Adds a site identifier tag on all HTML pages which allows for purging the whole site.
    • Also provides a hook to customise this identifier information.
  • Adds support for sending a file identifier for purging. This identifier is not added on all the file pages.
  • Adds a new AkamaiEverythingPurger to support purging whole Akamai cache using the site identifier and file identifier.
  • Adds a feature to disable Akamai caching.

CONFIGURATION

  • Refer documentation of Purge and Akamai module to configure your base setup.
  • Refer Module's Readme file for more details

Other Recommended modules

  • Purge Control: Provide a mechanism to disable and enable purging
  • Purge Everything Queuer: Provides a purge queuer to queue everything invalidation, Also provides an implementation to restart the stopped purge process due to Queue getting full.
  • Purge Ajax processor: Provides a Purge processor which Sends an Ajax request on every page load to process the purge queue.

Note

The complete end to end setup with additional modules was demonstrated in Drupal Con Europe 2021, Below are the session resources:

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Nov 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
2.0.0 Stable Nov 5, 2023
2.x-dev Dev Nov 5, 2023