- Issue created by @ericrubino
- πΊπΈUnited States ericrubino Washington DC
I am able to fix this in a preprocess hook but I think it should be fixed in the module itself.
Here is what I used in my preprocess hook
/**
* Implements hook_preprocess_HOOK() for block.html.twig.
*/
function themename_preprocess_block(&$vars) {
if($vars['plugin_id'] == 'your-block-id') {
//-- This sets the block cache to 6 hours.
$vars['#cache']['max-age'] = 21600;
}
} - Status changed to Fixed
6 months ago 1:02pm 5 July 2024 - Status changed to Fixed
6 months ago 1:02pm 5 July 2024