How to prevent Leaflet from loading tiles from server

المشرف العام

Administrator
طاقم الإدارة
I am currently developing a couple of solutions with LeafletJS and it frustrates me that my Firefox browser loads the tiles from the server (e.g. Stamen or OSM) and not from cache every time I reload the page (I only reload the page to run my latest js code, not the see fresh times).

I used to work with OpenLayers and didn't have that issue - on the contrary, I added some extra code to force OL to get fresh tiles in specific cases.

I have Leaflet version 0.7.2 and Firefox version 38.0 on Linux Mint Mate 17.1 64 bit.



أكثر...
 
أعلى