Camera icon indicating copy to clipboard operation
Camera copied to clipboard

Added "bypassCache" option to let the browser cache the images.

Open eguaj opened this issue 12 years ago • 2 comments

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.

eguaj avatar Oct 02 '12 17:10 eguaj

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.

larrybotha avatar Feb 05 '13 10:02 larrybotha

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

eternal-sorrow avatar May 08 '15 04:05 eternal-sorrow