[OSM-dev] problem with the drawing of roads on the slippy map
Erik Johansson
erjohan at gmail.com
Thu Mar 2 15:55:59 GMT 2006
On 3/2/06, Tom Carden <tom at tom-carden.co.uk> wrote:
> On 3/2/06, SteveC <steve at asklater.com> wrote:
> > yes, see previous threads about this. its a feature to stop db
> > thrashing.
> >
> > I have some map generalisation stuff in the pipeline so different things
> > are rendered at different resaolutions
> >
>
> Why not just cache zoomed-out tiles for longer? It was really nice to
> be able to see outside the M25 in London,
IRC the tiles are named by the bounding box, that would make the squid
rule very complex. Not even sure squid can do perl scripts as cache
rules.
e.g.
/bbx=([0-9.]+),([0-9.]+),([0-9.]+),([0-9.]+) /;
cache_one_hour if($1-$2 < 10);
cache_two_hour if($1-$2 < 20);
cache_three_hour if($1-$2 < 30);
--
/Erik
More information about the dev
mailing list