[Fixes #14358] Align GWC template to the default GWC configuration#14378
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the GeoServer Layer XML template create_template.xml by changing the height in metaWidthHeight from 1 to 2, adding a new gridSubset for EPSG:900913x2, and removing the expireCache, expireClients, and cacheWarningSkips elements. There are no review comments to evaluate, and I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
There was a problem hiding this comment.
Pull request overview
Updates GeoWebCache (GWC) layer XML template used by GeoNode’s GeoServer management command(s) to better match GeoServer/GWC’s default layer configuration and official REST XML representation.
Changes:
- Adjusts metatile dimensions (
metaWidthHeight) from2x1to2x2. - Adds the
EPSG:900913x2grid subset to the generated layer definition. - Removes
expireCache,expireClients, andcacheWarningSkipselements from the template.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-5.1.x 5.1.x
# Navigate to the new working tree
cd .worktrees/backport-5.1.x
# Create a new branch
git switch --create backport-14378-to-5.1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 b29cb7e8f4c59f34925e55d960ffcc4f15fef6f6
# Push it to GitHub
git push --set-upstream origin backport-14378-to-5.1.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-5.1.xThen, create a pull request where the |
Aligned to the default GWC config and the official XML layer representation
Checklist
For all pull requests:
The following are required only for core and extension modules (they are welcomed, but not required, for contrib modules):
Submitting the PR does not require you to check all items, but by the time it gets merged, they should be either satisfied or inapplicable.