geocoder
geocoder copied to clipboard
provide persistent caching
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).
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).