开发者

app engine urlfetch cache clearing

开发者 https://www.devze.com 2023-01-17 12:39 出处:网络
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

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

精彩评论

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