[Geoserver-devel] [JIRA] (GEOS-10679) The WMTS tiles requests made in the RESTful way don't use the GWC tiles cache. This works fine with KVP requests

Renato Primavera created an issue

GeoServer / BugGEOS-10679

The WMTS tiles requests made in the RESTful way don’t use the GWC tiles cache. This works fine with KVP requests

Issue Type:

BugBug

Affects Versions:

2.18.2

Assignee:

Unassigned

Components:

WMTS

Created:

29/Sep/22 10:46 AM

Priority:

HighHigh

Reporter:

Renato Primavera

We have a GeoServer 2.18.2 instance, with several layer groups.
A lot of WMTS tiles are in the GWC cache for this layer (… I mean this LayerGroup).

Requests are super fast when done in KVP, because the tile is fetched from cache :
https://MyServer/geoserver/MyWorkspace/gwc/service/wmts?layer=MyLayer&style=&tilematrixset=Tiles_31370&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fpng&TileMatrix=Tiles_31370%3A9&TileCol=262&TileRow=173

But requests made in REST are very slow, because cache is not used and a lot of GetMap are made (for each layer of the layergroup)
https://MyServer/geoserver/MyWorkspace/gwc/service/wmts/rest/MyLayer/Tiles_31370/Tiles_31370:9/173/262?format=image/png

It’s strange that the two “URL flavours” (KVP / REST) have a completly different behavior…

It’s also strange that in the WMTS capabilities, the “GetTile” operation list only “KVP” as allowed values but the “RessourceUrl” element for the layer shows a template based on the REST syntax

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100207-sha1:ee9e30a)

Atlassian logo