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.
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.