Bug report #9289

WMS cache never used

Added by jaanvajakas - over 6 years ago. Updated over 6 years ago.

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

Description

QGIS writes data to the .qgis2/cache/data7/ folder, but seems to never use it: panning the map a little back and forth with the hand tool always results in having to wait for the data to be downloaded from the server. This occurs with all WMS URLs I have used, e. g. "http://129.206.228.72/cached/osm?". I used a new project, the default settings when adding the WMS service and I even deleted my .qgis2 directory, so I don't have any special custom settings.

I am using openSUSE 13.1 and qgis-master 140102-1.1-x86_64 from the repository http://download.opensuse.org/repositories/Application:/Geo/openSUSE_13.1/ .

History

#1 Updated by Jürgen Fischer over 6 years ago

  • Resolution set to worksforme
  • Status changed from Open to Closed

Unless you bookmark your current canvas and use a fixed window size it's not very likely to hit the exact same window again - hence caching is not used for WMS. It's current only use is WMTS/WMS-C. You can however specify a tile size for WMS to get it cached - but that will also only produce cache hits, if you use the same scales.

Also available in: Atom PDF