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
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.
A management command is needed in
geonode.geoserverto deal with GWC configuration.Since more GWC commands will be needed, it could be implemented as a metacommand (see the
thesauruscommand used for listing, loading and dumping thesauri).Truncate one or more named layers
Truncate all cache
Further work (separate issue)
We may want to refactor the existing
create_tile_layersso that it is called via thegwcmetacommand, for instance asgwc create .... A separate issue will be opened for this.