Mobile app version of vmapp.org
Login or Join
Heady270

: 404 While Trying To Clear URL From Google Amp Cache I have a url from a site that is showing up on the google amp cache with some critical mistakes and i need to clear the cache. I have

@Heady270

Posted in: #Amp #Cache #Google

I have a url from a site that is showing up on the google amp cache with some critical mistakes and i need to clear the cache. I have followed the guide here developers.google.com/amp/cache/update-cache. This is most definitely the most complicated solution for such a simple action I have ever seen, but it seems to be the only way to do it.

I think I have followed the steps correctly (although i have doubts about the signature generation). When i try make a GET request to the final url, i get a 404. Even if i did generate the signature wrong, the url should give a 400 and not a 404. I want to clear a url from the google cache. I used the cache url listed here cdn.ampproject.org/caches.json to produce a URL like this.


mysite-net.cdn.ampproject.org/update-cache/c/s/mysite.net/amp/post/url-slug-for-post?amp_action=flush&amp_ts=1505064143amp_url_signature=big-long-base64-encoded-string

I tried to hit the same url with the signature excluded and still got the 404, my thinking is that the code was altering the url somehow to cause the 404 (even though i used a url encode on the special characters).

Can anyone give me advice here? I simply want google to refresh the cache for this page. It has been 3 days and it has not happened automatically. I have access to the webmaster page, but this doesnt have any options for clearing the cache.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Heady270

1 Comments

Sorted by latest first Latest Oldest Best

 

@Courtney195

You can generate the correct URL of your AMP page here: Get correct AMP URL here

You enter your URL and you will get the AMP cache URL

Then you must visit that URL
The cache update will not be immediate anyway

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme