Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.48 KB

Readme.md

File metadata and controls

23 lines (19 loc) · 1.48 KB

Introduction

This is a demo repository intended to demonstrate how an effective cache control and effective purge mechanism can be setup by using Drupal and Akamai.

This setup was demonstrated on drupal con europe 2021, Session Deck can be found at https://docs.google.com/presentation/d/1kNkMEyXyUMw6YWuFGibSUIlV0I7q5dbSMk5xTb9jQ38

Purge Modules added

Following things are included:

  • A dce_demo custom module which provides:
    • A block demonstrating the cache variations on the basis of cookie. Also provides event subscriber to add that as a vary header.
    • The same block is adding multiple cache tags so that akamai reduction and hashing logic could be observed
    • Contains a test drush command, and provides a sample of automated disable and enable of purging on execution of that command.
  • Includes Cache configuration setup using various purge and its related module in config/default directory.
  • Example config setup to be done at akamai control panel: https://github.com/guptahemant/dce-demo-2021/blob/master/akamai_cache_setup/Readme.md