HTTP caching in RestSharp (monotouch) -
restsharp (monotouch) seems disregard cache-control headers replied server (for calls). general case, restsharp doesn't perform proper http caching? or have missed something? following header params used, document not cached.
date: tue, 21 may 2013 11:34:55 gmt content-type: application/json transfer-encoding: chunked connection: keep-alive cache-control: no-transform, max-age=3600 content-encoding: gzip
if restsharp doesn't support correct caching, how local http caching best implemented restsharp? adding caching proxy component?
it's old question, , looking answer when stumbled on this: monotouch - iphone httpwebrequest turn off caching?
now since restsharp using httpwebrequest under hood, , implementation of httpwebrequest in monotouch doesn't feature caching, caching won't work in restsharp either. (and i) have implement our own caching component.
Comments
Post a Comment