WebClient caching support
Would WebClient caching work in an Appharbor hosted application?
e.g.
WebClient client = new WebClient();
client.CachePolicy = new
RequestCachePolicy(RequestCacheLevel.Revalidate);
client.DownloadData("http://site.com/resource");
Would cache the resource if supported by the server and use Temporary Internet Files for storing the cached copy.
Would this work on Appharbor given that disk write access is restricted?
Thanks!
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by friism on Jul 15, 2011 @ 11:43 PM
That's a pretty good question. I've done some experiments on AppHarbor and the caching is effective for
RequestCacheLevel.CacheIfAvailable
, but the cache is not stored where one would expect.If you need more details, it might make more sense to post this question on Stackoverflow.
Michael
friism closed this discussion on Jul 15, 2011 @ 11:43 PM.