A
A
afna2015-11-01 12:48:50
Android
afna, 2015-11-01 12:48:50

How to get cache offline using Volley?

Good afternoon!
Began to explore the possibilities of the Volley library. If I get a Cache-Control: max-age=n header from the server, then offline I get the cache for n seconds. After the expiration of this time at the next request, the data is no longer received from the cache. And how can I get the contents of the cache when the device is always offline?
Found a similar question on stackoverflo , but without a solution.
Thank you!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question