[Geoserver-devel] [JIRA] (GEOS-8071) CapabilitiesCacheHeadersCallback - caches getcap inappropriately (Time Series)

David Blasby created an issue

GeoServer / BugGEOS-8071

CapabilitiesCacheHeadersCallback - caches getcap inappropriately (Time Series)

Issue Type:

BugBug

Assignee:

Unassigned

Components:

Configuration, WFS, WMS

Created:

04/Apr/17 8:38 PM

Priority:

MediumMedium

Reporter:

David Blasby

Please see mailing list discussion.
http://osgeo-org.1560.x6.nabble.com/CapabilitiesCacheHeadersCallback-caches-getcap-inappropriately-Time-Series-td5315205.html

Main issue: not all catalog changes are detected, leading to caching issues. For example, security and adding/removing Dimensions (Time/Elevation).
Workaround: “-DCAPABILITIES_CACHE_CONTROL_ENABLED=false”


I noticed that the GetCap document was not up-to-date. When I dug into it, I found that CapabilitiesCacheHeadersCallback was returning a 304 (i.e. no changes).

However, this is a timeseries dataset (ie. Time Dimension tab on Layer Publish).

(i.e. a GeoGIG or PostGIS dataset with a time column)

The issue is that the dataset is changing. A new Time value is inserted into the dataset - the getcap (set to LIST) should show this new value. However, the document is cached because the catalog hasn’t detected any changes.

We talked about this earlier (“Time dimension on Vector Layer is SLOW”) and decided that caching this information is inappropriate (and I agree) for this reason.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.870.5#100039-sha1:da79de9)

Atlassian logo