faster-image
faster-image copied to clipboard
Feature request: Prefetch with caching support
As I have realized - despite my expectations - the prefetching is only into memory, is this correct? I expected it to lead to disc caching as well, which would help me much more than a memory prefetching.
Thus my question/wish would be: Do you think it's complicated to add the cachePolicy options to the prefetch as well. Especially cachePolicy: discNoCacheControl would help a lot to prefetch and cache lateron often used online images.
Suggestion:
prefetch([imageURLs], {options}) -> options could be cachePolicy at first:
prefetch(['https://image-url',], { cachePolicy: 'discNoCacheControl' })
==> Could lead to a real preCACHING, not only preFETCHING