Skip to content

Conversation

@eguaj
Copy link

@eguaj eguaj commented Oct 2, 2012

By default, image's URLs are prefixed with a timestamp which prevent
the browser from caching the image.

Setting "bypassCache: false" disable this prefix, and allow the browser
to cache the images and do If-Modified-Since requests instead of
fetching the whole image.

@larrybotha
Copy link

I'm glad this has been proposed.

Cache busting should be disabled by default, however. I'm not sure of the use case for loading every image every page load, but allowing images to cache by default would improve user experience. Cache busting should be enabled only when needed.

@eternal-sorrow
Copy link

Is this likely to be merged? Would be good to have the possibility to disable this feature.

By default, image's URLs are suffixed with a timestamp which prevent
the browser from caching the image.

Setting "bypassCache: false" disable this suffix, and allow the browser
to cache the images and do If-Modified-Since requests instead of
fetching the whole image.
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.

3 participants