OkHttp Caching Policies and ETags -
i had questions okhttp , how chooses caching:
- does okhttp honor weak etag (which used default in tomcat 7)? read somewhere chrome ignores weak etags in favor of
last-modifiedresponse header. i'm not if true chrome, wanted confirm okhttp. - does okhttp prioritize
etagheader onlast-modifiedheader in terms of caching policies? orlast-modifiedheader prioritized? okhttp follow spec determine this? or implementation detail?
okhttp doesn't differentiate between types of etags. if server response includes
etagheader, used okhttp.okhttp prefers
etagonlast-modified. it's implementation detail.
Comments
Post a Comment