Skip to content
Snippets Groups Projects
Commit baa5493c authored by Yazan Majadba's avatar Yazan Majadba
Browse files

Issue #3409698: Improve caching method

parent 13163b65
No related branches found
No related tags found
1 merge request!3Issue #3409698: Improve caching method
......@@ -122,8 +122,8 @@ class GleapBlock extends BlockBase implements ContainerFactoryPluginInterface {
/**
* {@inheritdoc}
*/
public function getCacheContexts() {
return Cache::mergeContexts(parent::getCacheContexts(), ['route']);
public function getCacheTags() {
return Cache::mergeTags(parent::getCacheTags(), ['config:gleap.gleap_configuration']);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment