Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Gathering and prefetching images #36

Closed
dnesteryuk opened this issue Oct 7, 2018 · 1 comment
Closed

Gathering and prefetching images #36

dnesteryuk opened this issue Oct 7, 2018 · 1 comment
Milestone

Comments

@dnesteryuk
Copy link
Collaborator

Currently, the client doesn't gather URLs to images, some sites might have lots of images, so it doesn't make any sense for all sites. However, it will be a useful feature for others. Specifically, sites working offline look broken without images.

Since it is very subjective which images might be prefetched, the client should provide a way to define a selector which will be used to gather images. Then, they might be prefetched.

@dnesteryuk dnesteryuk added this to the 0.5.0 milestone Oct 7, 2018
dnesteryuk added a commit that referenced this issue Oct 23, 2018
By providing a CSS selector (https://mzl.la/2pzC2kx),
a user can enable gathering URLs to images. Later they
will prefetched as other assets.
@dnesteryuk
Copy link
Collaborator Author

Implemented in the attached commit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant