Ticket #579 (closed enhancement: wontfix)
API should honour conditional If-Modified-Since HTTP GET
|Reported by:||openstreetmap@…||Owned by:||rails-dev@…|
|Keywords:||If-Modified-Since Caching Cache||Cc:|
As cheaply as possible the API should honour conditional If-Modified-Since HTTP GET. (Maybe initially only on: /api/0.5/map?bbox=)
If-Modified-Since header definition: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.25
Rails Code example: http://www.igvita.com/blog/2007/03/07/client-http-caching-in-rails/
This would allow more intelligence in downstream clients. Eg: TilesAtHome? having the ability to only run a full API map GET request and re-render if the tile/area has actually been modified.
This paves the way for "freshness" validated caching.
Blocked By: Bug #578