We have 100 + GeoTIFF layers which we have to display in the front end via OpenLayers. We use WMTS protocol to fetch data. The initial request "hostname/gwc/service/wmts?REQUEST=GetCapabilities" takes huge time to load (25 Seconds). We tried with Geo web cache still the performance is not good. How to add filters to the GetCapabilities request instead of loading all 100+ GeoTIFF information load only few layers.

We tried with WMS but we want to go with WMTS.

  • did you compute overviews for the GeoTIFFs? this typically speeds up the rendering a lot Nov 6, 2022 at 14:43
  • @JakobMiksch do you have any reference for this computing? I tried about cloud optimized Tiff but that is more for S3 , we are going with Azure Nov 12, 2022 at 3:51
  • To compute overviews you can use GDAL: ‘gdaladdo -r average input.tif’ This should help independent of your cloud hosting provider. Also COG is independent of a cloud hosting provider. Nov 14, 2022 at 6:14

2 Answers 2


You can make use of virtual service end-points (see the manual) so that rather than requesting all the layers via http://localhost:8080/geoserver-2.21.0/gwc/service/wmts?REQUEST=GetCapabilities you can ask for all the layers in a workspace with http://localhost:8080/geoserver-2.21.0/topp/gwc/service/wmts?REQUEST=GetCapabilities

  • We using GeoWebCache still the Get capbilities request is not very performant. We tried external cache with middleware ,but is there any configurations which can give better performance ? Nov 11, 2022 at 16:48

Options for reducing the size of the WMTS GetCapabilities response through a request are limited. Looking at the 1.0.0 specification, the best you can do is ask for sections; that still means you get all the layers though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.