Bug report #15818

Cached WFS GetCapabilities

Added by Thomas Bildsoe almost 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Web Services clients/WFS
Affected QGIS version:2.16.1 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23738

Description

I have a WFS server with a PostGIS data source. Layers are often added, and when I call the WFS GetCapabilities directly in a web-browser I see the new layers.

However in QGIS when I connect to the WFS server I can't see the new layers. It is as if the layers was cached on first connect, and the cache never expires.

In my opinion there should be no cache on WFS GetCapabilities.

QGIS version
2.16.1-Nødebo
QGIS code revision
8545b3b
Compiled against Qt
4.8.5
Running against Qt
4.8.5
Compiled against GDAL/OGR
2.1.0
Running against GDAL/OGR
2.1.0
Compiled against GEOS
3.5.0-CAPI-1.9.0
Running against GEOS
3.5.0-CAPI-1.9.0 r4084
PostgreSQL Client Version
9.2.4
SpatiaLite Version
4.3.0
QWT Version
5.2.3
PROJ.4 Version
492
QScintilla2 Version
2.7.2

History

#1 Updated by Thomas Bildsoe almost 4 years ago

  • Status changed from Open to Closed

Problem was with expiration headers.

Not a QGIS bug.

Also available in: Atom PDF