[OpenLayers-Users] OpenLayers.Layer.TMS requesting too many
tiles?
Christopher Schmidt
crschmidt at metacarta.com
Tue Feb 17 11:36:44 EST 2009
On Tue, Feb 17, 2009 at 09:57:56AM -0600, Brian Walawender wrote:
> Hello,
>
> I'm trying to have OpenLayers interact with TileCache similar to the way the
> Google Maps and GTileLayerOverlay interacts with tilecache. My Google
> example will load in about 3 seconds (the tiles were already created) and
> requests 55 tiles from the server. My Openlayers application takes several
> minutes to load and is requesting about 3 times as many tiles. It also
> spawns numerous Python processes on the servers and max out the CPU.
1. Don't use TileCache as CGI if you care in the slightest about
performance. Really. I mean it.
2. set 'buffer': 0 as an option on your TMS layer.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list