Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Clear Specific Cache

Security covered Maintenance fixes only 387 sites

This module allows you to clear the cache for specific entities like blocks or nodes directly from contextual links or the local task menu. It also provides a Drush command for cache clearing, speeding up development by avoiding full cache rebuilds.

The Clear Specific Cache module will help you to clear the cache of sole/specific entity type (i.e block, node, views block, view page, etc.) from contextual links, local task menu, and operations drop-button.

Benefits:

* Rather than clearing the cache of the whole system, It focuses to clear only one block or node, etc. at a time. This boost the development time.
* No need to clear cache from the UI only, It also provides Drush command.

How to install?

* For drush: drush dl ccos
* For composer: composer require drupal/ccos

Configuration:

* This module has no other configuration than permission.

Note*:

After installing the module, if you can't see the 'Clear cache' menu in
contextual links, then follow the below instructions:
* Open inspector of the browser (Right click >> Inspect) or (F12).
* Click on 'Console' tab next to 'Elements'.
* Copy 'window.sessionStorage.clear();' and paste, after that hit 'Enter'.
* Refresh the page you'll find the 'Clear cache' menu in contextual links.

Drupal 8–10 · not 11

Ask your assistant about Clear Specific 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

  • block Drupal core
  • contextual Drupal core
  • node Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Oct 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.1.1 Stable 8–10 Oct 31, 2023
2.1.0 Stable 8–10 Oct 31, 2023