[Geoserver-devel] [JIRA] (GEOS-9762) MapPreviewPage's LayerPreview calls catalog.getLayerByName() NxM times

Gabriel Roldan created an issue

GeoServer / ImprovementGEOS-9762

MapPreviewPage’s LayerPreview calls catalog.getLayerByName() NxM times

Issue Type:

ImprovementImprovement

Assignee:

Gabriel Roldan

Components:

web

Created:

08/Oct/20 4:33 AM

Priority:

MediumMedium

Reporter:

Gabriel Roldan

LayerPreview model holds a reference to LayerInfo which is used in all query methods except boolean hasServiceSupport(String serviceName), which does

LayerInfo linfo = GeoServerApplication.get().getCatalog().getLayerByName(this.getName());

instead, resulting in MxN catalog queries where M is the number of layers and N the number of CommonFormatLink available, taking up to ~50% of the page rendering time with a remote catalog.

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#100148-sha1:b80d0da)

Atlassian logo