1. Home
  2. Extension & Themes
  3. Purge AMP CDN Cache
  4. How to clear the AMP CDN Cache from Google Servers

How to clear the AMP CDN Cache from Google Servers

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 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 “urgent” update ping method.

Purge AMP CDN Cache

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.

The URL must be HTTPS. The key must be publicly accessible by Google.

Here are the steps :

  1. Download and Install Purge AMP CDN Cache extension.
  2. Upload and Activate
  3. Done! The Purge AMP CDN Cache will be visible on the AMP version of your site.

For more details on how to upload extension click on this link  Upload and Install.

How to Purge AMP CDN Cache in view Posts/Pages

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.

Step 1: Go to WordPress dashboard -> click on posts -> left-hand side Update AMP cache option appears only on view post click on the “clear now” button like below the screenshot.

Step 2: Once you clear the cache Green color checkmark will be displayed on the left-hand side like below the screenshot.

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on January 24, 2020

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support


  1. Hi,

    Thank you for this amazing plugin, but I have an issue: I can’t see this option on “Pages”. Is there another option to clear the AMP cache of a page?


    1. Hi Mireia,

      That option will be available in update AMPcache extension and that extension will be release soon.

    1. Hi johnlee,

      You have to run these two commands in your server to get the private key & public key

      1)openssl genrsa 2048 > private-key.pem
      2)openssl rsa -in private-key.pem -pubout >public-key.pem

      and if you have issue/problem then contact our technical team – they will help you as soon as possible.

      1. I just installed this extn and looking for private key. I am using godaddy. Let us know how to run the command line for my wordpress site. I know file manager, but where is this command prompt in godaddy wordpress site?

        1. Hi Suresh Kumar,

          To run the command you need shell access to get the private key and public key and we are implementing an alternative way to resolve this obstacle in the upcoming update and if you have any issues/problems then please let us know.

          1. Hello Sonali, I could not understand this. I have godaddy hosting and wordpress software. How to run these commands? I have only file manager access, how to get shell access. I have done google, but no info available

          2. Team, Waiting for this. My home page is showing 3 weeks old inspite of writing 20 odd articles as google cache is not cleared. Pls help fast

          3. Sonali, After talking to Godaddy customer care, I was able to generate both these pair of keys and I have inputted them in public key folder + updated private key in your plugin settings. Now when I update a post and clicking on “Clear now”, it says “Try again”. Let me know what to do

          4. Team, what is the purpose of buying this plugin where there is no support to activate this plugin even after 1 week of follow-ups?

    1. Hi Palla Sridhar,

      Yes you need to copy your public key and put inside “” file and make sure its readable format and if you have issue/problem then let us know.

  2. Hello there

    I can’t get this to work – the green tick never comes! As far as I know my general setup is right, with a bit of work I managed to manually clear the cache on one page using the same keys etc.

    Is there a way to debug the response?

    1. Hi Nick Scott,

      Could you please tell us how you manually clear the cache on one page using the same key.

      1. Hi there

        I followed the (really complicated) instructions on the Google site about how to do this manually – I understand you use the same process but automate it in the plugin.


    1. Hi Naresh,

      According to your requirement clear CDN page cache will send the request to google cdn for clear cache, CDN will clear it based on their queue after that, it will cache the latest content of your website page and still if you are facing issue/problem then contact our technical team - they will help you as soon as possible

  3. How long does it take for the green check mark to show up? Does it show after the update-cache request has been sent or when Google actually clears the cache? I am also interested in a way to debug – I want to see the request that was sent. Is there a way to see the request?

    Thank you,

    1. Hi Jim,

      As soon as your request is successful is send a green checkmark will be displayed and also you can check by clicking the inspect element & view the response of ajax request send it will be OK.

  4. i am sorry if this is answered i didn t read all the supoort comments,

    is it possible to purge all caches at once?

    other than one by one.. i have 200 pages?

  5. Hello,
    I want to purge the amp cache for the homepage url, can you explain how to do this. Plugin is installed and active.

Leave a Comment