<html><head><style type="text/css"><!-- DIV {margin:0px} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div> <br><style type="text/css"><!-- DIV {margin:0px} --</style>> From: Simon Hewison <simon@zymurgy.org><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><div>> <br>> When it does grab the Landsat tiles, does it do it through the squid <br>> proxy cache? Ditto for the WMS server before compositing the static <br>> maps. That way, the Landsat will be in something that is a bit quicker <br><br>Yes and yes. Both requests go through squid, and on to mapserver.<br><br>I'm setting up a purely Landsat cache on landsat.openstreetmap.org (this is the dev server).<br>There's plenty of disk, and the cache needs to be configured somewhat differently.<br>The connection between tile and dev is very fast.<br><br>> Even if Landsat server gives stupidly short HTTP expiry headers, it <br>> would be possible to fake that and set an expiry time of something like <br>> a month, and get squid to cache it, since Landsat doesn't change that often.<br><br>Yes, the Expires headers are something less than 24 hours. This can be overriden in squid.<br><span><a id="bodyLinks" target="_blank" href="http://wiki.squid-cache.org/config/refresh_pattern">http://wiki.squid-cache.org/config/refresh_pattern</a></span><br><br>I was thinking of setting the expiry time to something very close to forever (maybe a couple years, which seems like forever.) The cache can be more or less permanent. There are no plans for OnEarth to update their Landsat imagery in the foreseeable future. If it ever became a necessity to update, there are ways to invalidate the cache; or rather selectively invalidate the cache to prevent slow response times while the cache is rebuilt.<br><br>Mikel<br><a id="bodyLinks" target="_blank" href="http://bat.vr.ucl.ac.uk/cgi-bin/mailman/listinfo/openstreetmap"></a></div></div></div></div></div></div></div></body></html>