Skip to content

Feature request: Prefetch with caching support #80

Description

@afiller

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions