Does Google appengine cache external requests?

Posted by Andy Hume on Stack Overflow See other posts from Stack Overflow or by Andy Hume
Published on 2010-05-13T11:05:29Z Indexed on 2010/05/13 11:24 UTC
Read the original article Hit count: 209

I have a very simple application running on appengine that requests a web page every five minutes and parses for a specific piece of data.

Everything works fine except that the response I get back from the external request (using urllib2) doesn't reflect the latest changes to the page. Sometimes it takes a few minutes to get the latest, sometimes over an hour.

Is there a transparent layer of caching that appengine puts in place? Or is there something else I am missing here? I've looked at the caching headers of the requested page and there is no Expires or LastModified's sent.

Update: Sometimes, it will get the new version of the page for a number of requests and then randomly later get an old out of date version.

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about python