universe icon indicating copy to clipboard operation
universe copied to clipboard

Just a few things.

Open iBuaSpaz opened this issue 2 years ago • 1 comments

I got this running now, but considering OpenStreetmap is slow and MapBox expensive, is it posible to make a local cache on the phones with loaded tiles?

Eg:

cache: true, cachetime: 24*31, // 1 month cache

and a function like flushCache(older then); // force flush cache, or cache older then.

Lets all agree, maps dont change hourly, saving mobile data would be nice.

iBuaSpaz avatar Feb 05 '23 11:02 iBuaSpaz

I dont know if this is easy to implement, but i guess when a part loads, check for the xxxxxxxxxxxx.png files in cache, if not there, download, if there and older then cachetime, download the tile anew.

iBuaSpaz avatar Feb 05 '23 11:02 iBuaSpaz