Gabriel Roldan ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiODJkYTkxYjZiZGVhNDNjMzkwOWE1YWI0MWU3YTk1NjUiLCJwIjoiaiJ9 ) / Improvement ( https://osgeo-org.atlassian.net/browse/GEOS-9762?atlOrigin=eyJpIjoiODJkYTkxYjZiZGVhNDNjMzkwOWE1YWI0MWU3YTk1NjUiLCJwIjoiaiJ9 ) GEOS-9762 ( https://osgeo-org.atlassian.net/browse/GEOS-9762?atlOrigin=eyJpIjoiODJkYTkxYjZiZGVhNDNjMzkwOWE1YWI0MWU3YTk1NjUiLCJwIjoiaiJ9 ) MapPreviewPage's LayerPreview calls catalog.getLayerByName() NxM times ( https://osgeo-org.atlassian.net/browse/GEOS-9762?atlOrigin=eyJpIjoiODJkYTkxYjZiZGVhNDNjMzkwOWE1YWI0MWU3YTk1NjUiLCJwIjoiaiJ9 ) Issue Type: Improvement Assignee: Gabriel Roldan ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee ) Components: web Created: 08/Oct/20 4:33 AM Priority: Medium Reporter: Gabriel Roldan ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee ) 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. ( https://osgeo-org.atlassian.net/browse/GEOS-9762#add-comment?atlOrigin=eyJpIjoiODJkYTkxYjZiZGVhNDNjMzkwOWE1YWI0MWU3YTk1NjUiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-9762#add-comment?atlOrigin=eyJpIjoiODJkYTkxYjZiZGVhNDNjMzkwOWE1YWI0MWU3YTk1NjUiLCJwIjoiaiJ9 ) Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100148- sha1:b80d0da )
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
