This module helps clear specific Boost cache pages (delete particular static boost cache pages) on Drupal events - Node create, Node edit/update, Node delete, Node comment create, Node comment edit/update and Node comment delete.

Boost module cache the pages as static HTML files. When a new node is created, edited or deleted, the only way to refresh the node pages and the associated pages built using views would be to flush all cache. This module, Boost cache clear, allows us to clear specific page caches. The functionality can be enabled for specific content types, and for specific paths.

For a large Drupal content site, this functionality gives a large performance benefit by just clearing required caches.

Configuration:

Provides an interface "Boost Cache Clear Settings" on all Content pages. Enabling the same automates boost cache clear on node add/edit/delete and comment add/edit/delete for this content type. To clear boost cache specify pages by using their paths, enter one path. The "*" character is a wild card.
Example paths are for blog module, blog content type include the pages that list blogs - blog/*

boost cache clear cck configure

Clear Individual Page Cache:

Over and above this to clear a specific paths, this module provide then interface to clear specific page caches independent any Drupal core events at SITE_URL /admin/config/system/boost-cache-clear

boost cache clear page

Boost Cache Cleaner does not work for anonymous user.

Dependencies - boost(https://www.drupal.org/project/boost)

Below are the core events when the boost cache clear flushes (delete the static pages) the associated boost cache.
Node insert, update and delete.
Comment insert, update and delete.

Module can be further extended to your custom needs by calling the function boost_cache_clear_by_url()

Syntax:

/**
  * @param $url valid drupal path.
  */
boost_cache_clear_by_url($url)

Note: The "*" character is a wild card.
Example paths are for blog module, blog content type include the pages that list blogs - blog/*
for home page '/'

Similar Modules:
Boost Cache Cleaner: Boost cache cleaner flush (delete all the static boost cache pages) when any update occurs in drupal core. Example node update, insert or delete. So we need to rebuild boost cache for all pages instead of clearing specific cache. It may cause performance level drawback.

Supporting organizations: 

Project information

Releases