diff --git a/modules/flag_bookmark/config/install/views.view.flag_bookmark.yml b/modules/flag_bookmark/config/install/views.view.flag_bookmark.yml
index cc010f7..7073428 100644
--- a/modules/flag_bookmark/config/install/views.view.flag_bookmark.yml
+++ b/modules/flag_bookmark/config/install/views.view.flag_bookmark.yml
@@ -28,7 +28,7 @@ display:
         options:
           perm: 'flag bookmark'
       cache:
-        type: none
+        type: tag
         options: {  }
       query:
         type: views_query
diff --git a/modules/flag_bookmark/src/Tests/FlagBookmarkUITest.php b/modules/flag_bookmark/src/Tests/FlagBookmarkUITest.php
index 445fe32..9c8f0aa 100644
--- a/modules/flag_bookmark/src/Tests/FlagBookmarkUITest.php
+++ b/modules/flag_bookmark/src/Tests/FlagBookmarkUITest.php
@@ -2,6 +2,7 @@
 
 namespace Drupal\flag_bookmark\Tests;
 
+use Drupal\Component\Utility\Html;
 use Drupal\simpletest\WebTestBase;
 
 /**
@@ -17,6 +18,7 @@ class FlagBookmarkUITest extends WebTestBase {
    * @var array
    */
   public static $modules = [
+    'dynamic_page_cache',
     'views',
     'flag',
     'flag_bookmark',
@@ -78,6 +80,24 @@ class FlagBookmarkUITest extends WebTestBase {
     $this->drupalGet('bookmarks');
     $xpath = $this->xpath('/html/body/div/main/div/div/div/div/div/table/tbody/tr/td[1]');
     $this->assertEqual($xpath[0]->a, 'Article');
+
+    // Log in a different user, use the same role so that they have the same
+    // user.permissions hash.
+    $auth_user_2 = $this->drupalCreateUser();
+    $roles = $auth_user->getRoles(TRUE);
+    $auth_user_2->addRole(reset($roles));
+    $this->drupalLogin($auth_user_2);
+
+    $this->drupalGet('bookmarks');
+    $this->assertText(t('No bookmarks available.'));
+
+    // Flag node 2.
+    $node2 = $this->drupalCreateNode(['type' => 'article']);
+    $this->drupalGet($node2->toUrl());
+    $this->clickLink(t('Bookmark this'));
+    $this->drupalGet('bookmarks');
+    $xpath = $this->xpath('/html/body/div/main/div/div/div/div/div/table/tbody/tr/td[2]');
+    $this->assertEqual($xpath[0]->a, Html::escape($node2->getTitle()));
   }
 
 }
