Blocks Mass Cache

Component ID

1889672

Component name

Blocks Mass Cache

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

3588

Component created

Component changed

Component body

Fine tuning for blocks cache. It is possible to select the
type of cache for each block.

Compatible with:

Context version 7.x-3.0-beta7 or higher

Installation

Copy the module directory in to your Drupal:
/sites/all/modules directory as usual.

Enable Blocks Mass cache and Blocks Mass Cache Admin UI
for development environments.

Configuration

Visit /admin/structure/block/mass-cache
or via menus: Structure > Blocks > Mass Cache

Tick the boxes. It's possible to have combinations of
Role + Page / User + Page.

Make sure that "Cache Blocks" is enabled on
Configuration > Development > Performance

Similar modules:

Block Cache Alter

Other notes

IMPORTANT: In Drupal, blocks are not cached if you are logged in as admin (user id 1), so make sure you test blocks caching with an user different than user 1 or as anonymous.