Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Sucuri Cache

No security coverage Under active development 1 sites

This module integrates Drupal with the Sucuri Website Firewall, allowing you to automatically purge cached content directly from Drupal. You can clear individual node caches, multiple nodes, or your entire site's cache without needing to leave your website. The module also supports configuring API credentials and logging all cache clearing actions.

Easily integrate Sucuri cache clearing into Drupal!

Automatically purge node caches on change.

The Sucuri Cache Clear module provides an easy integration between your Drupal site and the Sucuri Website Firewall. It allows site administrators to purge cached content on the node level directly from Drupal. This module helps keep your content fresh on Sucuri’s caching layers without the need to leave your website, perform manual API calls or let your users wait some time until the cache is automatically invalidated.
Whether you need to clear the cache for a single page or your entire site after updates, this module offers a fast and efficient solution.

Features

  • Configure your Sucuri API credentials directly from Drupal.
  • Clear the entire website cache from Drupal’s admin interface.
  • Clear individual node caches with a simple action.
  • Clear caches for multiple nodes at once
  • Integrates seamlessly with Drupal permissions to restrict who can perform cache clears.
  • Logs all cache clear actions for traceability.
  • Admin Button to clear the full cache of Sucuri

Use cases:

  • After publishing or updating content, clear only the necessary parts of your site from Sucuri’s cache instantly without to wait for a time-based purge
  • Perform a full site cache purge after major site updates or deployments.
  • Empower content managers to clear caches without giving them full API access.

Post-Installation

go to /admin/config/services/sucuri_cache and configure the module.
Define the API Endpoint, API Key and API Secret, which should be used.
Module does the rest, and you don't need to think on it again.

Additional Requirements

  • Drupal 9 or higher.
  • A Sucuri Firewall with API access enabled.

Similar projects

  • Purge, Cloudflare Purge and Acquia Purge etc modules: Handle cache clearing for reverse proxies etc.

    Sucuri Cache Clear is focused specifically on Sucuri WAF integration and does not replace general Drupal caching mechanisms.
  • CDN Cache Purger: A general-purpose CDN cache clearing tool.
    Sucuri Cache Clear is a lightweight, Sucuri-specific alternative with a simpler setup.

    Supporting this Module

    ❤️

    Community Documentation

    TBD

    More Ideas

  • Purge the whole cache via backend action
  • support for bulk operations for views of content
  • let a user with permission submit and purge specific URLs via the Drupal Backend
  • Ask your assistant about Sucuri Cache

    Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

    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
    2
    Tracked since
    Jul 2025
    Latest release
    1 year ago
    Releases (12 mo)
    0 ▼ from 2
    Maintenance
    Dormant

    Releases

    Version Type Core PHP Release date
    1.0.0-beta1 Pre-release 9–11 Aug 28, 2025
    1.0.0-alpha1 Pre-release 9–11 Jul 1, 2025