Bug report #14628

Very slow GetCapabilities with PostGIS layers

Added by Nicolas Boisteault over 6 years ago. Updated over 6 years ago.

Category:QGIS Server
Affected QGIS version:2.8.7 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:not reproducable
Crashes QGIS or corrupts data:No Copied to github as #:22593


Affected version QGIS Server 2.8.8 (I can only choose 2.8.7 in list above)
I have a QGIS project with 30 PostGIS layers. When I make a GetCapabilities request on this project via QGIS Server it takes more 4 minutes to load.
I think QGIS Server is doing a lot of request to PostGIS database. Are all requests necessary to build the response?
If we can't avoid this slowness it would be handy to be able to activate cache for GetCapabilities response when project is finished.


#1 Updated by Giovanni Manghi over 6 years ago

  • Status changed from Open to Feedback

is still an issue on 2.14 or master?

#2 Updated by Giovanni Manghi over 6 years ago

  • Resolution set to not reproducable
  • Status changed from Feedback to Closed

I tested with 55 postgis layers and the capabilities were produced in a few seconds (qgis server 2.14.3).

Please reopen if necessary.

Also available in: Atom PDF