I make a GWC layer, and cache it using web interface. It puts the generated tiles in folders like:


After I want to reseed this layer using Geoserver REST Api. My request:

curl -v -u admin:geoserver -XPOST -H "Content-type: text/xml"
--data "<seedRequest>

But after reseed ends I do not see expected changes in gwc layer. In gwc folder I notice that REST request generate new folders like:


Why is this happening? And how to do reseed correctly?

  • 1
    How did you create the layer? Name "temp3_layer_013D0001B7ED" makes me think that it is not a standard layer like topp:states that comes with the demo data. – user30184 Nov 30 '17 at 8:50

GWC can create multiple caches based on the layer allowed parameters, one per parameter combination (so there is a potential for a combinatoric explosion if you allow several parameters, each combination giving birth to a different hash which gets appended to the path containing the tiles, as you can see).

In that seed request you are specifying a style, which is allowed as a parameter by default. If all you want to do is to cache with the default style, remove it from the layer configuration, and from your seeding request.

  • This is solution. I deleted whole parameter section from xml and GWC reseed tiles in my old folders. – Kliver Max Nov 30 '17 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.