<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">I has wrote a mapfile. It can be published successfully with openlayers. But its speed is very slow. So I try to use tilecache to improve the speed.<div>now I have install &nbsp;the tilecache, and it can run with the example.But it doesn't run with my mapfile. Here is the program</div><div><div>[road]</div><div>&nbsp;type=WMS</div><div>&nbsp;url=http://localhost/cgi-bin/mapserv.exe?map=/ms4w/Apache/htodcs/file/jia1_test.map&amp;transparent=true&amp;</div><div>&nbsp; &nbsp; layers=build,street</div><div>&nbsp;extension=png</div><div>&nbsp;bbox=-180 -90 180 90</div><div>&nbsp;maxResolution=0.0439453</div><div>&nbsp;srs=EPSG:4326</div><div>&nbsp;level=20</div></div><div><br></div><div>the html as follow:</div><div><div>layer = new OpenLayers.Layer.WMS( "global",&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "http://localhost/tilecache-2.10/tilecache.py?",</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span> {layers: 'build,street',&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span> format: 'image/png' } );</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; map.addLayer(layer);</div></div><div><br></div><div>Anyone can help me,thanks!!!</div><div><br></div><div><br></div><div><br></div></div>