[mapguide-users] RE: Change image format from png to jpg
mapguide2010
Zac Spitzer
zac.spitzer at gmail.com
Fri Jun 4 02:51:36 EDT 2010
regarding serving tiles by http
http://trac.osgeo.org/mapguide/wiki/CodeSamples/Tiles/ServingTilesViaHttp
an example of this is here
http://www.exploreaustralia.net.au/South-Australia/Murray/Barmera
there is no mapguide server involved in displaying this map,
just a tile cache using amazon cloudfront and s3, rendered via openlayers
z
On 4 June 2010 16:49, Zac Spitzer <zac.spitzer at gmail.com> wrote:
> those settings will have zero effect
>
> Mapguide doesn't serve titles with any http headers which would allow caching
> bug http://trac.osgeo.org/mapguide/ticket/467
>
> the only workaround is to serve the tiles via http using openlayers,
> or put a proxy with some smart rules to add such headers to
> gettile requests in front of the mapagent
>
> z
>
>
>
> On 4 June 2010 16:37, mighty_duck <msiljegovic at gmail.com> wrote:
>>
>> Hi Andy,
>>
>> thx for reply....I tried with png8 and it improve performance in case when
>> I'm not using base layers. As I noticed, also you wrote in reply, those
>> changes didnt have any influence on base layers. I used firebug and every
>> tiles takes about 200KB in case of base layers, which is pretty much for a
>> significant number of tiles(10 - 20). Also I noticed that when I pan on the
>> map, it is obvious that it is remembering(caching) some tiles but after some
>> time viewer is again loading tiles that already had been loaded(seems lose
>> them).
>>
>> My questions are: do you know if it is somehow possible to improve
>> performances of base layers? Does those parameters below in server.config
>> file have any usage for base layers performance, does this parameter
>> TileColumnsPerFolder determine number of tiles in cache folder on the server
>> and maybe 30 in this case is restricting total number of files causingthat
>> lost already loaded tiles(just thinking)?
>>
>> TileColumnsPerFolder = 30
>> TileRowsPerFolder = 30
>> DefaultTileSizeX = 300
>> DefaultTileSizeY = 300
>>
>> And does anybody try , not related to MapGuide, to somehow remember one time
>> loaded files( some browser capability) on the client side and then on
>> requests first look into 'client cache' or something similar?
>>
>> Thx for any suggestions!
>> --
>> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Change-image-format-from-png-to-jpg-mapguide2010-tp5134979p5138272.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>
>
>
> --
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
>
--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168
More information about the mapguide-users
mailing list