thegooglecodearchive / geolocate-cli

Automatically exported from code.google.com/p/geolocate-cli
GNU General Public License v3.0
0 stars 0 forks source link

Cache locator responses #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Everything will go a lot faster if a caching layer is introduced.  It
should be transparent, in that plugins need not know about it.

It should be LRU: If the cache is full, remove the least recently used

It should be aging:  If an entry is too old, it will be removed

It should be per plugin: Different plugins may give different response for
the same data, so the cache should keep a copy for each plugin

Original issue reported on code.google.com by fmarkham@gmail.com on 1 Apr 2010 at 2:30