Browse Source

leave block caching at default for now

2.x
ppound 2 years ago
parent
commit
abc328ebd9
  1. 7
      modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsArticles.php
  2. 7
      modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsBooks.php
  3. 7
      modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteBestbet.php
  4. 8
      modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteGeneral.php

7
modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsArticles.php

@ -39,11 +39,4 @@ class RoblibSearchEdsArticles extends BlockBase {
];
}
/**
* {@inheritdoc}
*/
public function getCacheMaxAge() {
//Reading dynamic content from external source so no caching.
return 0;
}
}

7
modules/roblib_search_eds/src/Plugin/Block/RoblibSearchEdsBooks.php

@ -39,12 +39,5 @@ class RoblibSearchEdsBooks extends BlockBase {
];
}
/**
* {@inheritdoc}
*/
public function getCacheMaxAge() {
//Reading dynamic content from external source so no caching.
return 0;
}
}

7
modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteBestbet.php

@ -37,11 +37,4 @@ class RoblibSearchSolrSiteBestbet extends BlockBase {
];
}
/**
* {@inheritdoc}
*/
public function getCacheMaxAge() {
//Reading dynamic content from external source so no caching.
return 0;
}
}

8
modules/solr_site/src/Plugin/Block/RoblibSearchSolrsiteGeneral.php

@ -38,12 +38,4 @@ class RoblibSearchSolrsiteGeneral extends BlockBase {
];
}
/**
* {@inheritdoc}
*/
public function getCacheMaxAge() {
//Reading dynamic content from external source so no caching.
return 0;
}
}

Loading…
Cancel
Save