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

v-lazy on image load twice! #486

Open
naimlatifi5 opened this issue Mar 31, 2022 · 2 comments
Open

v-lazy on image load twice! #486

naimlatifi5 opened this issue Mar 31, 2022 · 2 comments

Comments

@naimlatifi5
Copy link

naimlatifi5 commented Mar 31, 2022

I just noticed that when I use v-lazy on images and when I check network img tab it loads twice. I tried to turn off option "disable cache" as someone mentioned but for me is till the same unfortunately. But if I use 'lazy-component' and have image inside it then it loads once but I would like to use v-lazy since I would like to perform some skeleton with image loading error and loaded

@lecheng-lc
Copy link

because first load loading-src
sencond load trueth src

@ITcx1212
Copy link

because first load loading-src sencond load trueth src

I just noticed that when I use v-lazy on images and when I check network img tab it loads twice. I tried to turn off option "disable cache" as someone mentioned but for me is till the same unfortunately. But if I use 'lazy-component' and have image inside it then it loads once but I would like to use v-lazy since I would like to perform some skeleton with image loading error and loaded

Have you resolved it ?

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

No branches or pull requests

3 participants