Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for no-transform cache control header [SPR-6834] #11500
The HTTP 1.1 RFC defines an optional "no-transform" value for the
Mobile web sites are generally recommended to set this header to prevent transcoders from mangling the markup.
Can we have support for this header value added to
Affects: 3.0 GA
This issue is a sub-task of #16413
Referenced from: commits 38f32e3
1 votes, 4 watchers
Brian Clozel commented
The WebContentGenerator class (and other places in the framwork as well) support CacheControl like this:
CacheControl cc = CacheControl.maxAge(30, TimeUnit.DAYS).noTransform(); generator.setCacheControl(cc);
See #16413 for more details.