[mapguide-users] Caching Tiles

Traian Stanev traian.stanev at autodesk.com
Thu Feb 22 10:06:39 EST 2007


I don't remember if I have suggested this before, but have you tried using MgTileService::ClearCache()? Or is that not exposed to scripts?

If that doesn't work you can write a script that deletes the tile files -- this makes the assumption that your script has access to the file system of the server though. I imagine you can even make a script that only deletes the tiles that were affected by the feature edit, if you compute which tiles were actually affected.

Traian


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Maciej Skorczewski
Sent: Thursday, February 22, 2007 5:41 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Caching Tiles

hi!

yes i look a script/solution who clear cache in ajax title...perhaps 
anyone have made it before?

now i use map whitout ajax cache - it's too slow...

in may aplication who get data form postgis data i add/del/move object 
on map simply by use of webbrowser...it works fine but work whitout tile 
base  map (ajax cache) is veeery slow.

did you know hove - by use of PHP can i clear cache in tile base map?



Regards , maciek

Nichols, Mark A. napisał(a):
> Does anyone out there have a script to cache tiles?  I'm already using
> the tiling feature of MapGuide, but I'd really, really like to cache the
> entire map by running a script.  So when browsing the map, no tiles
> would need to be generated, this would have already been done with the
> script.  I feel like I'm very close, but just not quite there.  If
> anyone is doing this, or can advise, it would be a great help.
> 
> Thanks in advance,
> 
> Mark Nichols
> markn at spicergroup.com
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users




More information about the mapguide-users mailing list