Maybe I could use wmts instead.

Where can I set the expiration headers.

--

Med venlig hilsen / Kind regards

Tue Topholm
Sugee
Tlf: +45 32 13 32 32
W: http://www.sugee.dk


2010/9/22 Adam Ratcliffe <[email protected]>

> I would look at doing the following:
>
> - Use a tile cache in front of your WMS server if you're not doing so
> already.
> - Set appropriate expiration headers on the image tiles to leverage the
> browser cache.
> - When you create your WMS layer in OL you could also try setting the
> layer's 'buffer' option to zero, this will prevent OL from requesting
> additional tiles outside the map viewport.
>
> Cheers
> Adam
>
> On 23/09/2010, at 7:48 AM, Tue Topholm wrote:
>
> Hi All
>
> I have played a bit around with phonegap and openlayers. But the
> performance is not that good.
>
> I found out that performance is better when you get a wms as a single tile.
> But everytime openlayers fetches new images the performance drops and the
> app is slow. But when the images are fetched the performance is okay again.
>
> Is there anyone who played with this, and what about webworkers or html5
> (canvas)?
>
> --
>
> Med venlig hilsen / Kind regards
>
> Tue Topholm
> Sugee
> Tlf: +45 32 13 32 32
> W: http://www.sugee.dk
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to