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: 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: MCP Sentinel 2.28.2 — Minor update available for module mcp_sentinel (2.28.2). Release: Rightup theme 1.0.2 — Minor update available for theme vartheme_bs5_rightup (1.0.2). Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage. Module Revived: Liquid Voting 2.0.1 — Module liquid_voting updated after 6 months of inactivity (2.0.1).

StackPath has announced about CDN product retirement

StackPath is dedicating its entire focus to being the industry’s best cloud computing platform built at the internet’s edge. Subsequently, we are retiring the StackPath Content Delivery Network (SP// CDN) offering.

New SP// CDN subscriptions are no longer available, and SP// CDN and its add-on services/features will cease operations at 12:00 a.m. Central (UTC-6:00) on November 22, 2023.

This is why the module is unsupported anymore and is obsolete.

Project description will still be left here.

The stackpath module integrates Stackpath CDN with Drupal for purging content.

This module does the following:

  1. Sets the X-Tag http header required by StackPath for tag based Purging in Drupal 8. No configuration is required for this.
  2. Offers a purger plugin for invalidating via tag at StackPath (see below).
  3. Recommended modules:
    • purge_queuer_coretags (provides the queueing of the invalidations made by Drupal core)
    • purge_processor_cron (actual processor of the queue)
    • purge_drush (all above in one but with drush)

To enable purging, browse to admin/config/development/performance/purge and
add the purger provided by this module.

To configure the purger, you need a StackPath stack id, client id and secret for authentication.

The stack id can be retrieved from the URL: https://control.stackpath.com/stacks/this-is-your-stack-id

Client id and secret are retrieved in the control panel at Stackpath.

At the moment purging with cron is supported. In order to frequently purge queued items configure the frequency cron is running on your website.

To configure a purger go to /admin/config/development/performance/purge and setup the purger for Stackpath.

The cache can be purged by running cron like this:

drush --uri=URL_OF_WEBSITE cron

To check if your setup works pay attention to the response headers, that are send by the Stackpath. The X-HW header has the information, if the page was served from cache. The suffix .c stands for cache. More about this header can be read here.

Example

...
x-generator: Drupal 8 (https://www.drupal.org)
x-hw: 1567698402.cds143.fr8.hn,1567698402.cds013.fr8.c
...

After purging you see the updated page, and after the third request you see a header similar to the one shown above.

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
1
Tracked since
Jul 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
8.x-1.5 Stable Jul 18, 2023