Observed: the vanilla minimap-marker icons (banks/POIs from getMinimapMarkers()) load in noticeably later than object icons after login.
Cause: the two icon systems aren't equal.
- Object icons (trees/rocks/NPCs) are rendered 3D models cached in
ModelIconCache → model-icons.json, which ships in the build and persists in IndexedDB → instant.
- Minimap-marker icons are loaded fresh each session from
https://evilquest.net/minimap/icons/<name> into a volatile in-memory mmIconCache Map (WorldMapPlugin.ts, ~L3097). Not persisted, not bundled → re-fetched over the network every login.
Proposed fix: persist marker icons to a PluginAssetCache namespace (and/or bundle them like model-icons.json) so they load instantly and offline.
Follow-up from #21.
Observed: the vanilla minimap-marker icons (banks/POIs from
getMinimapMarkers()) load in noticeably later than object icons after login.Cause: the two icon systems aren't equal.
ModelIconCache→model-icons.json, which ships in the build and persists in IndexedDB → instant.https://evilquest.net/minimap/icons/<name>into a volatile in-memorymmIconCacheMap (WorldMapPlugin.ts, ~L3097). Not persisted, not bundled → re-fetched over the network every login.Proposed fix: persist marker icons to a
PluginAssetCachenamespace (and/or bundle them likemodel-icons.json) so they load instantly and offline.Follow-up from #21.