[openstreetmap/openstreetmap-website] DiaryEntryController.list (#1612)

Tom Hughes notifications at github.com
Tue Aug 15 16:15:17 UTC 2017


It doesn't actually call nominatim every time as the results are cached - see https://github.com/openstreetmap/openstreetmap-website/blob/master/lib/nominatim.rb#L8 for details.

The main advantage to not storing it in the database is that it allows the description to improve over time as our data improves - the cache means it won't update immediately but it will age out eventually or sometimes the caches are purged for various reasons.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1612#issuecomment-322513960
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170815/4e3eff85/attachment.html>


More information about the rails-dev mailing list