if( cachingInfoChanged || defaultStyleChanged) {
List<LayerGroupInfo> groups = catalog.getLayerGroups();
for (LayerGroupInfo lg : groups) {
GeoServerTileLayer tileLayer = mediator.getTileLayer(lg);
if(tileLayer != null) {
LayerGroupHelper helper = new LayerGroupHelper(lg);
int idx = helper.allLayers().indexOf(li);
if(idx >= 0) {
// we need to save in case something changed in one of the layer
GridSetBroker gridSetBroker = mediator.getGridSetBroker();
GeoServerTileLayerInfo groupTileLayerInfo = tileLayer.getInfo();
GeoServerTileLayer newTileLayer = new GeoServerTileLayer(lg, gridSetBroker, groupTileLayerInfo);