Posted by andreiashu on May 6, 2009 at 2:53pm
Jump to:
| Project: | GeoNames |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | andreiashu |
| Status: | closed (works as designed) |
Issue Summary
Hi,
I just started to play with this module and first of all many thanks for creating it. It is a real life savior.
I know that now the module lazy-loads the requested data and caches it to DB so then upon a second request it will load the data directly from cache.
I would like to create a module that would prepopulates the cache with all the geonames data (once every X says or weeks or months etc) on cron run.
I would need some advices, ideas and whether this would be a good module to be shared here, maybe even added as an add-on to geonames module.
Thanks
Comments
#1
The cache in geonames just caches the results for a particular *query*. It doesn't cache all the backend data, about all the locations etc - since it doesn't know how to search/match against this data (that's the point of the web-service). Producing a local relica, and reimplementing all the search logic of geonames webservice, is beyond the scope of this module.
Closing "by design". Feel free to reopen if I'm missing something in your request.