Integrated GWC does not kick in when making request not qualified by workspace

Description

Integrated GWC is unable to find a layer belonging to default workspace, when the OWS request has no mention of workspace as part of layer name or inside the request URL.

Steps to reproduce:

  • Enable GWC WMS Integration in Geoserver

  • Enable Tile Caching on a random layer

  • Make a WMS request with Tiled=true param set and BBOX matching GWC gridset. (Can be obtained by previewing the GWC layer)

The HTTP response headers will show
geowebcache-cache-result: MISS
geowebcache-miss-reason:* not a tile layer*

Environment

None

Activity

Show:
Imran Rajjad
December 13, 2019, 1:52 PM

master PR:

Imran Rajjad
January 8, 2020, 6:19 AM

backport 2.16.x :
backport 2.15.x :

Fixed

Assignee

Imran Rajjad

Reporter

Imran Rajjad

Fix versions

Affects versions

Components

Priority

Medium