承接 dksdev01/akamai 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Via the form at admin/config/akamai/cache-clear, which allows you to enter lists of URLs to clear.
  2. You can enable a block, 'Akamai Cache Clear', which will allow you to clear the page you are currently viewing.

统计信息

  • 总下载量: 58.29k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固