Skip to content

Need to optimize bandwidth usage by preventing repeated loading of images #118

Answered by igordanchenko
Aghiles97 asked this question in Q&A
Discussion options

You must be logged in to vote

This shouldn't be an actual issue as long as you serve your images with appropriate Cache-Control headers. Modern browsers cache recently downloaded images, so any subsequent image request for previously downloaded image should be served from local cache.

For example, if you open one of the demos from the documentation website and swipe through all of the slides you should see that the browser starts serving images from the disk cache.

Also, make sure you do not disable the cache in the dev tools.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Aghiles97
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants