lukaszlenart opened a new pull request, #286: URL: https://github.com/apache/struts-site/pull/286
## Summary This PR adds comprehensive documentation for the new features introduced in apache/struts#1418 (Struts 7.2.0): - New `<s:compress>` tag for HTML output compression - FreeMarker whitespace stripping configuration - Performance optimization guidance ## Related Issues - Resolves documentation for [WW-5256](https://issues.apache.org/jira/browse/WW-5256) - Related to apache/struts#1418 ## Documentation Updates ### New Files - `source/tag-developers/compress-tag.md` - Complete documentation for the compress tag including description, attributes, security features, examples, and configuration ### Updated Files - `source/tag-developers/tag-reference.md` - Added compress tag to the Generic Tags table - `source/core-developers/performance-tuning.md` - Added two new sections: - Enable FreeMarker Whitespace Stripping - Use the Compress Tag for HTML Output Optimization - `source/core-developers/freemarker-support.md` - Added FreeMarker Whitespace Stripping section - `source/core-developers/constant-configuration.md` - Added examples for new configuration constants ## New Configuration Constants Documented - `struts.freemarker.whitespaceStripping` - Controls FreeMarker whitespace stripping (default: true, auto-disabled in devMode) - `struts.compress.enabled` - Controls global compress tag behavior (default: true) - `struts.compress.maxSize` - Maximum compressible content size (default: 10MB) - `struts.compress.log.maxLength` - Maximum log message length (default: 200 chars) ## Test Plan - [x] Documentation builds successfully - [ ] Review content accuracy - [ ] Verify links work correctly - [ ] Check formatting consistency 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
