开发者

app engine urlfetch cache clearing

Is there a command to do a one time clear of all urlfetch cached data?

Have found this

h开发者_StackOverflowttp://www.mail-archive.com/google-appengine@googlegroups.com/msg09869.html

which seems to clear on a url by url basis


No. Caches - whether as part of urlfetch or elsewhere - cache pages publicly. Multiple users may try to fetch the same page, and get the same cached result. Thus, clearing the cache would clear it for everyone.

HTTP provides headers for bypassing caching, as the link you referenced indicates. These are what you should use if you need to avoid retrieving cached results.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜