Chris, I converted to mod_python, I see what you mean from the performance end. Thanks for your help.
bw -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Christopher Schmidt Sent: Tuesday, February 17, 2009 10:37 AM To: Brian Walawender Cc: [email protected] Subject: Re: [OpenLayers-Users] OpenLayers.Layer.TMS requesting too many tiles? 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 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
