Implement caching
This commit is contained in:
1 parent
b08a8520f1
commit
8aa70707a9
1 file changed
+5
@@ -96,6 +96,11 @@ class ArchiveTreeBlock extends BlockBase {
|
||||
'archive_tree/archive_tree_styles',
|
||||
],
|
||||
],
|
||||
'#cache' => [
|
||||
'contexts' => ['user', 'languages'],
|
||||
'tags' => ['node_list'],
|
||||
'max-age' => -1,
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user