dksdev01/akamai
Composer 安装命令:
composer require dksdev01/akamai
包简介
Cache Control integration with Akamai CDN. Akamai is a registered trademark of Akamai Technologies, Inc.
README 文档
README
https://www.drupal.org/project/akamai
This module provides a Drupal service to interact with the Akamai Content Control Utility.
While the service can be used by developers in isolation, most users should install the Purge module. Purge will take care of invalidating caches automatically when content is updated.
It incorporates the AkamaiOPEN-edgegrid-php library.
Latest Documentation
Please visit the Drupal docs for Akamai.
Installation and configuration
Download the module with drush or otherwise, add it to the modules folder.
You will need to download [akamai-open/edgrid-client](https://packagist.org/packages/akamai-open/edgegrid- client). The recommended way to do that is by installing Composer Manager, and following its instructions to update your site's vendor directory.
With Purge
Make sure purge_ui is enabled.
Go to admin/config/development/performance/purge and enable the Akamai Purger in the list of Purger plugins.
Configure your Akamai credentials via the 'Config' dropdown in the Purge UI interface.
Without Purge
Go to /admin/config/akamai/config and enter your Akamai credentials.
Go to /admin/config/akamai/cache-control to clear URLs manually.
Akamai Credentials
Follow the instructions here to set up the client credentials. https://developer.akamai.com/introduction/Prov_Creds.html
You will need admin access to the Luna control panel to create credentials.
Using an .edgerc File
You can store an .edgerc file on the server and reference the path in /admin/config/akamai/settings. It should match this format:
[default] host = akaa-baseurl-xxxxxxxxxxx-xxxxxxxxxxxxx.luna.akamaiapis.net/ access_token = akab-access-token-xxx-xxxxxxxxxxxxxxxx client_token = akab-client-token-xxx-xxxxxxxxxxxxxxxx client_secret = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx= max-size = 2048 Using the Key Module
Alternatively, you can use the key module to set API credentials. Create Authentication keys at /admin/config/system/keys. Then go to /admin/config/akamai/settings and specify the corresponding key for your access token, client token, and client secret.
Usage
With Purge
You will need to make sure that you have necessary Purge plugins enabled and configured:
- a queuer (at present, purge_queuer_url is the only queuer supported by this module)
- a queue
- a processor
Purge will queue URLs that need to be cleared from Akamai automatically.
Without Purge
There are two ways to clear URLs without Purge:
- Via the form at
admin/config/akamai/cache-clear, which allows you to enter lists of URLs to clear. - You can enable a block, 'Akamai Cache Clear', which will allow you to clear the page you are currently viewing.
dksdev01/akamai 适用场景与选型建议
dksdev01/akamai 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 58.29k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「drupal」 「cdn」 「purge」 「akamai」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 dksdev01/akamai 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dksdev01/akamai 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 dksdev01/akamai 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Provides an add-on purchasable entity.
Drupal integration module for the Kalastatic prototyping and styleguide tool
Provides a base set of configuration and module dependencies for starting new Drupal projects.
CDN Purge Control SDK for PHP - Lightweight PHP library to control multiple CDN edge cache.
WordPress plugin to extend Varnish HTTP Purge to purge the cache on multiple backends.
This module extends Drupal Migrate framework.
统计信息
- 总下载量: 58.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2026-01-04