[SAC] [OSGeo] #895: Caching of WMTS Tiles

#895: Caching of WMTS Tiles
---------------------------+------------------------------------------------
Reporter: gsommer | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+------------------------------------------------
Hi,

when comparing WMTS performance between OpenLayers and Leaflet using the
same WMTS service (http://openlayers.org/dev/examples/mobile-wmts-
vienna.html, http://sindre.at/wienmap/), the Leaflet Application seems to
cache tiles, so that when zooming or panning back to a previous extent the
background map displays nuch faster.

When looking at it with Firebug Net tab you can see, that there are no
requests sent to the server i.e. when zooming in and out in the same
position.

I found out, that if I change transitionEffect: "null" to
transitionEffect: "resize" in the labels layer of mobile-wmts-vienna.js, I
get a similar effect in the OpenLayers example (though this does not look
very good). When the labels layer is active with transitionEffect: "null",
then Firefox ignores the tile cached in the browser and sends a request to
the server using the max-age=0 Cache-Control header.

Is this by design for some reason, or is it a bug?
What could be done to make OpenLayers WMTS perfom as good as Leaflet?

Best Regards,
Gerhard

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/895&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#895: Caching of WMTS Tiles
---------------------------+------------------------------------------------
Reporter: gsommer | Owner: sac@…
     Type: defect | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: invalid
Keywords: |
---------------------------+------------------------------------------------
Changes (by warmerdam):

  * status: new => closed
  * resolution: => invalid

Comment:

This belongs in the OpenLayers bug tracker, not the OSGeo Trac which is
for general foundation services, not specific software projects.

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/895#comment:1&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.