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:
Rails Code example:
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