Using purge_queue_url still requires the d8-contrib-modules/cloudflarephpsdk library

Created on 6 March 2025, 4 days ago

Problem/Motivation

When using a Cloudflare tier which does not support cache tags, the purge_queuer_url module must be used and the associated URL queuer configured as documented at https://github.com/d8-contrib-modules/cloudflare/blob/8.x-1.x/docs/freet....

However, ✨ Proposal to switch Cloudflare library Fixed removed the dependency on the d8-contrib-modules/cloudflarephpsdk library. When the purge queue is being processed, the items added by the URL queuer are not invalidated in Cloudflare.

In the README, the Free Tier and Enterprise Tier links go to the GitHub repo, which is outdated, but those instructions explicitly mention downloading the d8-contrib-modules/cloudflarephpsdk library. Albeit, the stable version, not the alpha version mentioned in the documentation, is what needed to be downloaded and worked (Drupal 10.4).

Steps to reproduce

  • Follow the instructions in the README.
  • Instead of clicking the link to the Free Tier documentation. Following the instructions at https://git.drupalcode.org/project/cloudflare/-/blob/8.x-1.x/docs/freeti...
  • Notice, the purge_queuer_url module is mentioned to install, but it was not listed to be downloaded in the previous composer require command. So, you must use composer require drupal/purge_queuer_url separately.
  • Notice the Free Tier documentation does not mention configuring the URL qeuer.
  • Configure the URL queuer. Then, remove the core tags queuer as that will cause the tag items to be added to the purge queue and the queue will eventually grow too large. Since the cache tags are not supported with the Cloudflare free tier.

Proposed resolution

Fix the documentation, and any dependencies required, to successfully use the Free Tier.

Remaining tasks

  • Fix documentation
  • Add dependencies
πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nmangold United States

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024