Skip to content

Create a management command to clear GWC cache #14245

@etj

Description

@etj

A management command is needed in geonode.geoserver to deal with GWC configuration.
Since more GWC commands will be needed, it could be implemented as a metacommand (see the thesaurus command used for listing, loading and dumping thesauri).

Truncate one or more named layers

gwc truncate -l layer1 -l layer2 ...

Truncate all cache

gwc truncate --all

Further work (separate issue)

We may want to refactor the existing create_tile_layers so that it is called via the gwc metacommand, for instance as gwc create .... A separate issue will be opened for this.

Metadata

Metadata

Assignees

Labels

No fields configured for Feature.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions