jQuery Cache Images v1.8 Plug-in

Back to Index

Use the following buttons to perform some basic checks on the cache

Images are kept in browser's Local Storage as a base64 encoded string. Below are three images and an image that links to a non-existant file so it shows the default.

Flickr Test

Here is a dynamic example where we will fetch a bunch of images from Flickr, dynamically insert them into the page, and they all get cached. Some of the images are restricted by a same origin policy which will generate errors in your console. But this is a configuration issue with Flickr - not the caching. Presumably you'll have control of your content and can ensure it is accessible.