{"id":9707,"date":"2019-05-11T07:52:22","date_gmt":"2019-05-11T07:52:22","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=9707"},"modified":"2020-01-24T12:02:31","modified_gmt":"2020-01-24T12:02:31","slug":"how-to-clear-the-amp-cdn-cache-from-google-servers","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-clear-the-amp-cdn-cache-from-google-servers\/","title":{"rendered":"How to clear the AMP CDN Cache from Google Servers"},"content":{"rendered":"\n<h3>Purpose of Google AMP Cache<\/h3>\n\n\n\n<p>The <strong>Google AMP Cache<\/strong> serves cached copies of valid AMP content published to the web. Serve content directly from the Google AMP Cache to provide a fast user experience. <\/p>\n\n\n\n<p>The Google AMP Cache automatically requests the latest version of the AMP document from its origin and serves the updated version to the next user. That means that when you load the AMP Cache URL directly, that forces the cache to update, even without the more \u201curgent\u201d update ping method. <\/p>\n\n\n\n<h3>Purge AMP CDN Cache<\/h3>\n\n\n\n<p>By using update-cache request it will update and remove the content from the Google AMP Cache. The content is updated within its max-age and crawl the fresh cache.<\/p>\n\n\n\n<p>The URL must be HTTPS. The key must be publicly accessible by Google.<\/p>\n\n\n\n<p><strong>Here are the steps :<\/strong><\/p>\n\n\n\n<ol><li>Download and Install <strong><a href=\"https:\/\/ampforwp.com\/addons\/purge-amp-cdn-cache\/\">Purge AMP CDN Cache<\/a><\/strong> extension.<\/li><li>Upload and Activate<\/li><li>Done! The <strong>Purge AMP CDN Cache<\/strong> will be visible on the AMP version of your site.<\/li><\/ol>\n\n\n\n<p>For more details on how to upload extension click on this link&nbsp; <a href=\"https:\/\/ampforwp.com\/tutorials\/article\/how-to-upload-and-install-extension\/\">Upload and Install.<\/a><\/p>\n\n\n\n<h4>How to Purge AMP CDN Cache in view Posts\/Pages<\/h4>\n\n\n\n<p>Where you want to update the cache select posts\/pages. Only it will be displayed on view posts\/pages, For example, I am using posts like below the screenshot.<\/p>\n\n\n\n<p><strong>Step 1: <\/strong>Go to <strong>WordPress dashboard<\/strong> -&gt; click on<strong> posts<\/strong> -&gt; left-hand side <strong>Update AMP cache<\/strong> option appears only on view post click on the &#8220;clear now&#8221; button like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"471\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/3-4-1024x471.png\" alt=\"\" class=\"wp-image-9729\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/3-4-1024x471.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/3-4-300x138.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/3-4-768x353.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/3-4-50x23.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/3-4-60x28.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/3-4-100x46.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/3-4.png 1347w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 2:<\/strong> Once you clear the cache Green color checkmark will be displayed on the left-hand side like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"472\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/4-4-1024x472.png\" alt=\"\" class=\"wp-image-9732\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/4-4-1024x472.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/4-4-300x138.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/4-4-768x354.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/4-4-50x23.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/4-4-60x28.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/4-4-100x46.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/4-4.png 1353w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Purpose of Google AMP Cache The Google AMP Cache serves cached copies of valid AMP content published to the web. Serve content directly from the Google AMP Cache to provide a fast user experience. The Google AMP Cache automatically requests the latest version of the AMP document from its origin&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[168],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/9707"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=9707"}],"version-history":[{"count":40,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/9707\/revisions"}],"predecessor-version":[{"id":15745,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/9707\/revisions\/15745"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=9707"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=9707"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=9707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}