PHPackages                             fork/craft-akamai-invalidator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. fork/craft-akamai-invalidator

ActiveCraft-plugin[Caching](/categories/caching)

fork/craft-akamai-invalidator
=============================

Assign cache tags to pages and invalidate them on save.

2.0.0(2mo ago)21.7k↓50%MITPHPPHP ^8.2

Since Jun 1Pushed 2mo ago6 watchersCompare

[ Source](https://github.com/fork/craft-akamai-invalidator)[ Packagist](https://packagist.org/packages/fork/craft-akamai-invalidator)[ RSS](/packages/fork-craft-akamai-invalidator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (10)Used By (0)

Craft Akamai Invalidator
========================

[](#craft-akamai-invalidator)

Assign cache tags to pages and invalidate them on save.

Features
--------

[](#features)

- Assigns a cache tag based on the entry ID to each response.
- Automatically invalidates the cache tag of an entry on save.
- Invalidate the whole website via the `all` cache tag.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 5.0 or later, and PHP 8.2 or later.

Installation
------------

[](#installation)

Open your terminal and run the following commands:

```
# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require fork/craft-akamai-invalidator

# tell Craft to install the plugin
./craft plugin/install akamai-invalidator
```

Configuration
-------------

[](#configuration)

### Akamai authentication

[](#akamai-authentication)

To generate your Akamai credentials, see [Create authentication credentials](https://techdocs.akamai.com/developer/docs/set-up-authentication-credentials).

Place the `.edgerc` file at your Craft root.

### Plugin configuration

[](#plugin-configuration)

To configure the plugin, create a file `config/akamai-invalidator.php` with the following options:

```
