title: How to make offline maps(using leaflet OSM) , by caching?
body: <p>I am trying to make offline maps through caching (IndexedDB) in browser. I understand the concept is that I download and store the tiles of map first when connected to internet.</p>
  
  <p>Then I have to load the tiles logically offline. </p>
  
  <p>However, I'm not able to figure it out. </p>
  
  <p>How do I store them and how to load them again logically? I'm stuck here. I am using the  <code>leaflet API</code> for maps.  How can this be implemented?</p>