java - Caching Data with OKHttp -
java - Caching Data with OKHttp -
i'm trying cache info okhttp's native cache; problem don't have command on server side data, , response header cache-control coming "no-cache" value.
is there anyway intercept request add together in header cache info that's coming using okhttp? (i'd cache specific requests if possible).
thank you! best regards, christopher steven
okhttp doesn't offer mechanism defeat cache-control: no-cache
. okhttp end validating response server, if server says stored response still response body won't need retransmitted.
we've got feature request outstanding wants this, though it's hard because may mean single request yields multiple responses.
java caching okhttp
Comments
Post a Comment