That's interesting. The URLFetch service does cache results, but these should be short-lived. Are you fetching a resource that has cache headers set?
On Thu, Jun 10, 2010 at 6:48 PM, mar_novice <[email protected]> wrote: > > How quickly? Not that fast. I'm still testing my app and upon > refreshing the page, sometimes what I get are the cached results. I > even get sometimes the result that was supposed to be "yesterday's" > result, meaning, a day old result. Can you somehow explain how the > urlfetchservice cache works so that we can somehow avoid getting > unexpected results from it. And I thought urlfetch does not do caching > but it does. It seems that it is not in the documentation or I just > missed it. > > Adding a timestamp seems a good workaround. > > > On Jun 11, 3:01 am, "Ikai L (Google)" <[email protected]> wrote: > > How quickly are you making requests? > > > > One thing to try - I can't guarantee it'll work - is to append a > timestamp > > parameters to the URL like this: > http://www.somedomain.com?v=sometimestamp. > > You'll have to balance this against your latency requirements, as the > cache > > is several orders of magnitude faster. > > > > > > > > > > > > On Wed, Jun 9, 2010 at 5:29 AM, mar_novice <[email protected]> > wrote: > > > Is there a way to disable urlfetchService cache? When I made a > > > urlfetch, sometimes, what I get is the cached result. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google App Engine for Java" group. > > > To post to this group, send email to > > > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-appengine-java%[email protected]><google-appengine-java%2B > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine-java?hl=en. > > > > -- > > Ikai Lan > > Developer Programs Engineer, Google App Engine > > Blog:http://googleappengine.blogspot.com > > Twitter:http://twitter.com/app_engine > > Reddit:http://www.reddit.com/r/appengine > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
