Opened 12 years ago

Closed 12 years ago

#2072 closed task (fixed)

mg-desktop: Legend should cache layer icons and scale ranges

Reported by: jng Owned by: jng
Priority: low Milestone:
Component: Desktop API Version:
Severity: trivial Keywords:
Cc: External ID:

Description

True to the theme of "premature optimization is evil", the legend component currently re-reads all associated Layer Definitions on disk to re-read all the matching icons and scale ranges every time it is refreshed.

This is obviously an excessive amount of unnecessary I/O (as each GetResource call hits the disk for the content) and such information should be cached locally.

Change History (1)

comment:1 by jng, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.