Yoni Obia
06/14/2024, 1:47 PMCache-Control: max-age=60;max-stale=120
to test things with OkHttp, the max-age
prevent calling the server for 60 seconds but the max-stale
isn’t doing anything or I’m not using it properlyjessewilson
06/14/2024, 1:57 PMjessewilson
06/14/2024, 1:57 PMjessewilson
06/14/2024, 1:58 PMYoni Obia
06/14/2024, 2:06 PMjava.net.ConnectException: Failed to connect to /10.0.2.2:8000
while the response should be returned because of the max-stale=120
jessewilson
06/14/2024, 2:29 PMonly-if-cached
to prevent the network calljessewilson
06/14/2024, 2:29 PMmax-age=120
?Yoni Obia
06/14/2024, 4:42 PMmax-age=120
isn’t the 2 other enough to use the cache?