Browse files

Documented new "maximum cache age" option for layers

  • Loading branch information...
1 parent 8bd4250 commit 03957d2888f870a24f9b2ec223d0c4fe1abaa685 @migurski migurski committed Jan 25, 2012
Showing with 7 additions and 2 deletions.
  1. +6 −1 API.html
  2. +1 −1 TileStache/
7 API.html
@@ -784,7 +784,12 @@
<dt>maximum cache age</dt>
- An optional string that TODO write me
+ An optional number of seconds used to control behavior of downstream caches.
+ Causes TileStache responses to include
+ <a href="">Cache-Control</a>
+ and <a href="">Expires</a>
+ HTTP response headers. Useful when TileStache is itself hosted behind an HTTP
+ cache such as Squid, Cloudfront, or Akamai.
<dt>jpeg options</dt>
2 TileStache/
@@ -217,7 +217,7 @@ class Layer:
Value for the Access-Control-Allow-Origin HTTP response header.
- TODO write me
+ Number of seconds that tiles from this layer may be cached by downstream clients.
Starting latitude for slippy map layer preview, default 37.80.

0 comments on commit 03957d2

Please sign in to comment.