diff --git a/tablesort_example/tablesort_example.routing.yml b/tablesort_example/tablesort_example.routing.yml
index 1a90d04..203c0fd 100644
--- a/tablesort_example/tablesort_example.routing.yml
+++ b/tablesort_example/tablesort_example.routing.yml
@@ -4,3 +4,5 @@ tablesort_example_description:
     _controller: '\Drupal\tablesort_example\Controller\TableSortExampleController::description'
   requirements:
     _permission: 'access content'
+  options:
+    no_cache: 'TRUE'
diff --git a/tablesort_example/tests/src/Functional/TableSortExampleTest.php b/tablesort_example/tests/src/Functional/TableSortExampleTest.php
index 1018b90..dd03eea 100644
--- a/tablesort_example/tests/src/Functional/TableSortExampleTest.php
+++ b/tablesort_example/tests/src/Functional/TableSortExampleTest.php
@@ -41,14 +41,12 @@ class TableSortExampleTest extends ExamplesBrowserTestBase {
     // Ordered by number decending.
     $item = $this->getSession()->getPage()->find('xpath', '//tbody/tr/td[1]');
     $this->assertEquals(7, $item->getText(), 'Ordered by number decending.');
-    drupal_flush_all_caches();
 
     $this->drupalGet('/examples/tablesort-example', array('query' => array('sort' => 'asc', 'order' => 'Numbers')));
     $assert->statusCodeEquals(200);
     // Ordered by Number ascending.
     $item = $this->getSession()->getPage()->find('xpath', '//tbody/tr/td[1]');
     $this->assertEquals(1, $item->getText(), 'Ordered by Number ascending.');
-    drupal_flush_all_caches();
 
     // Sort by Letters.
     $this->drupalGet('/examples/tablesort-example', array('query' => array('sort' => 'desc', 'order' => 'Letters')));
@@ -56,14 +54,12 @@ class TableSortExampleTest extends ExamplesBrowserTestBase {
     // Ordered by Letters decending.
     $item = $this->getSession()->getPage()->find('xpath', '//tbody/tr/td[2]');
     $this->assertEquals('w', $item->getText(), 'Ordered by Letters decending.');
-    drupal_flush_all_caches();
 
     $this->drupalGet('/examples/tablesort-example', array('query' => array('sort' => 'asc', 'order' => 'Letters')));
     $assert->statusCodeEquals(200);
     // Ordered by Letters ascending.
     $item = $this->getSession()->getPage()->find('xpath', '//tbody/tr/td[2]');
     $this->assertEquals('a', $item->getText(), 'Ordered by Letters ascending.');
-    drupal_flush_all_caches();
 
     // Sort by Mixture.
     $this->drupalGet('/examples/tablesort-example', array('query' => array('sort' => 'desc', 'order' => 'Mixture')));
@@ -71,14 +67,12 @@ class TableSortExampleTest extends ExamplesBrowserTestBase {
     // Ordered by Mixture decending.
     $item = $this->getSession()->getPage()->find('xpath', '//tbody/tr/td[3]');
     $this->assertEquals('t982hkv', $item->getText(), 'Ordered by Mixture decending.');
-    drupal_flush_all_caches();
 
     $this->drupalGet('/examples/tablesort-example', array('query' => array('sort' => 'asc', 'order' => 'Mixture')));
     $assert->statusCodeEquals(200);
     // Ordered by Mixture ascending.
     $item = $this->getSession()->getPage()->find('xpath', '//tbody/tr/td[3]');
     $this->assertEquals('0kuykuh', $item->getText(), 'Ordered by Mixture ascending.');
-    drupal_flush_all_caches();
 
   }
 
