[OSM-dev] Tile caching

Dean Earley dean at earlsoft.co.uk
Wed Sep 20 11:53:48 BST 2006

Hi all.

Chris Schmidt mentioned an interesting idea in #geo for use in OL.
His idea was to implement/support the Last-Modified and If-Modified-Since
HTTP headers for tile generation/serving.

Steve says that the API can't currently get the "last update" in a
bounding box but its easy with direct DB access (0.4? :).
If we were to implement caching based on this time, it would allow for
near instant updates and almost indefinate caching for unchanged tiles.
Of course, we couldn't just rely on the browser cahcing and would nbeed to
cache internally based on the same "last modified" time.

This wouldn't effect the time taken to render a tile int he first place

Any and all thoughts welcome.

Dean Earley, Dee (dean at earlsoft.co.uk)

irc:    irc://irc.blitzed.org/
web:    http://personal.earlsoft.co.uk
phone:  +44 (0)780 8369596

More information about the dev mailing list