[OSM-dev] NOT-saving empty Mapnik tiles

Frederik Ramm frederik at remote.org
Fri Aug 12 19:26:49 BST 2011


marqqs at gmx.eu wrote:
> After this, I look at the file's length and delete this file if the length does not exceed 116 bytes.

In a normal mod_tile setup, this would mean that the next time someone 
requests that area, the tile will be rendered again, and again, and 
again, each time producing (after a series of database queries) an empty 
tile. Compared to that, the cost of having a 116 byte file lying around 
is rather small!


Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"

More information about the dev mailing list