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

Give little delay when loading from cache #147

Open
blitzbohne opened this issue May 23, 2019 · 0 comments
Open

Give little delay when loading from cache #147

blitzbohne opened this issue May 23, 2019 · 0 comments

Comments

@blitzbohne
Copy link

I think it'd be useful to add a slight timer like 250ms (outside SSR of course) that waits for the image to be loaded and if so, immediately shows the image not the placeholder. Otherwise as of now, with cached images you'll always see a lot of flickering on each page due placeholder first shown then the images are immediately loaded from cache.

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

1 participant