core/modules/search/src/Controller/SearchController.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/modules/search/src/Controller/SearchController.php b/core/modules/search/src/Controller/SearchController.php index 9a2a75f..0893259 100644 --- a/core/modules/search/src/Controller/SearchController.php +++ b/core/modules/search/src/Controller/SearchController.php @@ -84,9 +84,6 @@ public function view(Request $request, SearchPageInterface $entity) { $build = array(); $plugin = $entity->getPlugin(); - // @todo Remove once https://www.drupal.org/node/2464409 lands. - $build['#cache']['max-age'] = 0; - // Build the form first, because it may redirect during the submit, // and we don't want to build the results based on last time's request. $build['#cache']['contexts'][] = 'url.query_args:keys';