Skip to content

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

Open
EagleQL wants to merge 3 commits intostrues:masterfrom
EagleQL:master
Open

Hi, this is a feature that can save web traffic when loading image#289
EagleQL wants to merge 3 commits intostrues:masterfrom
EagleQL:master

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