You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.integralblue.httpresponsecache.compat.libcore.net.http.ResponseHeaders.chooseResponseSource(long, RequestHeaders) does not honor only-if-cached cache control directive
#40
Open
pragmasoft-ua opened this issue
Jun 19, 2013
· 0 comments
com.integralblue.httpresponsecache.compat.libcore.net.http.ResponseHeaders.chooseResponseSource(long, RequestHeaders) does not honor only-if-cached cache control directive
This method returns ResponseSource.CONDITIONAL_CACHE which then later does not satisfy response from cache even if it can.
Solution: check for request.onlyIfCached flag and return ResponseSource.CACHE irrespective of age and freshness
The text was updated successfully, but these errors were encountered:
com.integralblue.httpresponsecache.compat.libcore.net.http.ResponseHeaders.chooseResponseSource(long, RequestHeaders) does not honor only-if-cached cache control directive
This method returns ResponseSource.CONDITIONAL_CACHE which then later does not satisfy response from cache even if it can.
Solution: check for request.onlyIfCached flag and return ResponseSource.CACHE irrespective of age and freshness
The text was updated successfully, but these errors were encountered: