https://kotlinlang.org logo
Title
m

maxgdn

06/07/2021, 9:25 PM
If Application errors exist i.e 
response.errors
will the resulting response (query) be cached? Any good reading material or resources on this topic?
m

maxgdn

06/07/2021, 9:37 PM
Wow! Thank you Łukasz!!!
👍 1
w

wasyl

06/07/2021, 9:38 PM
So by default such responses will not be cached, but you can make it so that they are by adding this header. Example here: https://github.com/apollographql/apollo-android/blob/14926b288c545878a5227e71ed19f[…]on/src/test/java/com/apollographql/apollo/CacheHeadersTest.java 🙂
❤️ 1