rs / SDURLCache

URLCache subclass with on-disk cache support on iPhone/iPad
MIT License
798 stars 247 forks source link

ETags support ? #28

Closed Psli closed 12 years ago

Psli commented 12 years ago

ETags were added to provide a mechanism for validating entities that is more flexible than the last-modified date, very very useful !! Look at the 13th rule: http://developer.yahoo.com/performance/rules.html

rs commented 12 years ago

ETags are used for conditionnal requests, not for cache validation. ETag support is the responsability of the cache consumer (i.e.: NSURLHTTPRequest) and I guess it's already implemented.