IITC-CE / ingress-intel-total-conversion

intel.ingress.com total conversion user script with some new features. Should allow easier extension of the intel map.
https://iitc.app
ISC License
285 stars 110 forks source link

More caching abilities #121

Open johnd0e opened 5 years ago

johnd0e commented 5 years ago

cache-details-on-map is very limited, as it shows only portals for which we have full details. And it completely wipes portals on timeout.

  1. It would be great to cache placeholder portals too.

  2. I think we should keep base info (lat/lng/name), as it rarely changes.

  3. Permanent cache

  4. Possibility to limit displayed portals to current view area (to save resources)

    • But current view can contain a huge amount of portals, with their markers overlapping. We should consider #129.
johnd0e commented 4 years ago

There are more that one side in the issue:

Artoria2e5 commented 4 months ago

A lot of the core caches are not referencable from outside the local scope; that needs to change for a plugin to read values from (to put into long-term cache) and inject values to it (from long-term cache).