[OSM-dev] Tile Expiration, Cache-Control
Dirk-Lüder Kreie
osm-list at deelkar.net
Mon Feb 19 18:26:13 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
As mentioned on the talk list the "404" tile should be sent with a
Cache-control: no-cache
header, to avoid these tiles being cached by the client or on the path
to the client requesting the tile.
Furthermore all tiles should have an "Expires: $DATE" header set
accordingly.
For mapnik tiles the expiration should be the date of the next planned
planet export, unless they have not been re-rendered yet since the last
export in which case the "Cache-control: no-cache" header should also be
set, or a short expiration time corresponding to the rendering time.
On tiles at home tiles the timeout should be a few hours maybe in the 3-6
hour range, since the caching does only need to take place for one
session which is likely to be quite short, since the caching is mostly
done locally, i.e. the server doesnt benefit from longer caching times
because the caching is only done at the client.
Dirk-Lüder "Deelkar" Kreie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF2evFFUbODdpRVDwRAtQiAJ9q7IqJqUc/mGiKzyfFOjO5EGArLgCguEyN
ephZErkd3DtPKIYZexUeM08=
=0l68
-----END PGP SIGNATURE-----
More information about the dev
mailing list