I struggle a bit with how to use caching with it. All methods return Futures, but with caching they should return streams which first return the cached value and then the refreshed after that. So as far as I can tell, when using with the DioCacheInterceptor I will only get the cached value (depending on the setting and if it's cached already) but not the refreshed one. Is that correct or do I miss something?
Hey, first, thanks for this awesome generator.
I struggle a bit with how to use caching with it. All methods return Futures, but with caching they should return streams which first return the cached value and then the refreshed after that. So as far as I can tell, when using with the
DioCacheInterceptor
I will only get the cached value (depending on the setting and if it's cached already) but not the refreshed one. Is that correct or do I miss something?Thanks in advance.