savelichalex / Souptitle

9 stars 0 forks source link

Find solution to cache images #92

Open savelichalex opened 7 years ago

savelichalex commented 7 years ago

Images not cached and this is cause unpleasant bug while move to chapter screen and cover image (the same that in serials screen) is loaded again

savelichalex commented 7 years ago

Default solution in iOS to cache images is NSURLRequestUseProtocolCachePolicy, that mean that caching must be in server side, but dropbox send Cache-Control: no-cache and Pragma: no-cache. Looks like I cannot change Request cache policy directly, only if extend RTCImage. Ok, there is three decisions we can make: