Description
Zoran Regvart opened SPR-7129 and commented
As per The HTTP 1.1 RFC (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.1) Cache-Control HTTP header can have keywords public or private specified.
One would use the public keyword for cacheable resources that are behind HTTP authentication -- a common case would be static javascript or image files that not accessible to general public. An even stronger case could be made for JSON/XML data intended for an AJAX client behind HTTP authentication that still wants to cache the response.
The private keyword is intended in cases where privacy of the cached data should be enforced -- for example for cached profile pages of the user.
These improvements would benefit applications that want comply with the recent trends in web site optimizations, such as the ones outlined in the best practices for caching section of Google's page speed project (http://code.google.com/speed/page-speed/docs/caching.html).
Affects: 3.0.2
This issue is a sub-task of #16413
Issue Links:
- Provide controller method level alternative to WebContentInterceptor [SPR-8550] #13194 Provide controller method level alternative to WebContentInterceptor
- ServletWebRequest can't validate Etag and Last-Modified together. [SPR-11324] #15948 ServletWebRequest can't validate Etag and Last-Modified together.
Referenced from: commits 38f32e3
11 votes, 23 watchers