{"id":630,"date":"2019-10-19T08:28:53","date_gmt":"2019-10-19T08:28:53","guid":{"rendered":"http:\/\/pwa-for-wp.com\/docs\/?post_type=ht_kb&#038;p=630"},"modified":"2019-10-19T10:34:01","modified_gmt":"2019-10-19T10:34:01","slug":"pwa-urls-exclude-from-cache-list","status":"publish","type":"ht_kb","link":"https:\/\/pwa-for-wp.com\/docs\/article\/pwa-urls-exclude-from-cache-list\/","title":{"rendered":"PWA Urls Exclude From Cache List"},"content":{"rendered":"\n<p>It is very simple to exclude a page or pages from the cache. In our  <br><strong><a href=\"https:\/\/wordpress.org\/plugins\/pwa-for-wp\/\">PWA for WP &amp; AMP<\/a><\/strong> plugin we are providing the option to automatically excludes all the pages. <\/p>\n\n\n\n<p>You will find this option in the <strong>WordPress Dashboard<\/strong> -> Navigate to <strong>PWA<\/strong> -> <strong>Setting<\/strong> -> <strong>Advance<\/strong> ->In this &#8220;<strong>Urls Exclude From Cache List<\/strong>&#8221; textarea put the list of URLs which you do not want to cache by the service worker and then click on the &#8220;<strong>Save Settings<\/strong>&#8221; button. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"812\" height=\"1024\" src=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/10-1-812x1024.png\" alt=\"\" class=\"wp-image-633\" srcset=\"https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/10-1-812x1024.png 812w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/10-1-238x300.png 238w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/10-1-768x969.png 768w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/10-1-40x50.png 40w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/10-1-48x60.png 48w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/10-1-79x100.png 79w, https:\/\/pwa-for-wp.com\/docs\/wp-content\/uploads\/2019\/10\/10-1.png 1057w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<p>Enter the URL of the page you wish to exclude. You can either enter the full URL e.g. http:\/\/www.example.com\/page\/ or you can just enter the path after the domain name, e.g. \/page\/. Either way will work.<\/p>\n\n\n\n<p><strong>Note:<\/strong> For multiple pages, enter each one on its own line put in comma separated<\/p>\n\n\n\n<p><strong>For Example:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:\/\/www.example.com\/blog\/, https:\/\/www.example.com\/blog\/index.php, https:\/\/www.example.com\/b\/admin\/folder\/index.php<\/code><\/pre>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope we\u2019ve clear your doubts in case If you have any feedback or questions, Just contact us&nbsp;<strong>here and<\/strong>&nbsp;we are always available for you.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is very simple to exclude a page or pages from the cache. In our PWA for WP &amp; AMP plugin we are providing the option to automatically excludes all the pages. You will find this option in the WordPress Dashboard -> Navigate to PWA -> Setting -> Advance ->In&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[6],"ht-kb-tag":[],"class_list":["post-630","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to"],"_links":{"self":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/comments?post=630"}],"version-history":[{"count":14,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/630\/revisions"}],"predecessor-version":[{"id":647,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/630\/revisions\/647"}],"wp:attachment":[{"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=630"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=630"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/pwa-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}