Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, this is a feature that can save web traffic when loading image #289

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

EagleQL
Copy link

@EagleQL EagleQL commented Mar 14, 2020

this is a feature that can save web traffic when loading image.

I'v added a attribute data-rjs-src to retina.js. Once a element is setted attribute src to "" and which has data-rjs-src & data-rjs attribute, the logic added by me will try to load the image-url which defined in data-rjs-src by capability.

So retina.js can save web traffic when loading image now

@EagleQL
Copy link
Author

EagleQL commented Mar 14, 2020

hope to merge these code,good luck

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

Successfully merging this pull request may close these issues.

1 participant