Implement caching

This commit is contained in:
2026-01-23 22:06:10 -06:00
parent b08a8520f1
commit 8aa70707a9

View File

@@ -96,6 +96,11 @@ class ArchiveTreeBlock extends BlockBase {
'archive_tree/archive_tree_styles', 'archive_tree/archive_tree_styles',
], ],
], ],
'#cache' => [
'contexts' => ['user', 'languages'],
'tags' => ['node_list'],
'max-age' => -1,
],
]; ];
} }
} }