# OpenLayers Cache Read Example

# Cache Read Example

mobile, local storage, persistence, cache, html5
Caching viewed tiles

This example shows how to use the CacheRead control to fetch cached tiles from the browser's Local Storage. As you pan and zoom the map, you can see how the number of cache hits incrases as you browse regions that are available in the cache.

To fill the cache with tiles, switch to the cache-write.html example.

See cache-read.js for the source code.