geocoder icon indicating copy to clipboard operation
geocoder copied to clipboard

provide persistent caching

Open schachmat opened this issue 9 years ago • 1 comments

Heyho,

could you add caching functionality in your lib? The queries should be stored somewhere persistent on disk possibly surviving reboots (e.g. simple file or sqlite database).

schachmat avatar Apr 26 '16 22:04 schachmat

Persistence can be accomplished in many ways and is outside the scope of a geocoder. I have a similar need and achieved it with gob and bbolt (https://github.com/p/weather/blob/master/backend/src/weather.go).

p avatar Jul 20 '18 14:07 p