mrmap-community / Mapbender2.8

Other
4 stars 1 forks source link

merge layer into wmc slow #116

Closed armin11 closed 1 year ago

armin11 commented 1 year ago

if some layers are given as get-parameter the merging will be slow: https://github.com/mrmap-community/Mapbender2.8/blob/master/http/javascripts/initWmcObj.php#L424, maybe the get-api may allow to inject a layer at a specific position in the wmc

armin11 commented 1 year ago

partially fixed with https://github.com/mrmap-community/Mapbender2.8/commit/02909ebfc6800311c52debbcb59d39e8961bd586. the creation of the wms and layer objects from db is slow, when the wms has many layers. therefor these objects are now cached for 120 seconds.