diff --git a/spring-web/src/main/java/org/springframework/http/CacheControl.java b/spring-web/src/main/java/org/springframework/http/CacheControl.java index fbdc5691a1c..c99333445f3 100644 --- a/spring-web/src/main/java/org/springframework/http/CacheControl.java +++ b/spring-web/src/main/java/org/springframework/http/CacheControl.java @@ -114,7 +114,7 @@ public class CacheControl { * clients sending conditional requests (with "ETag", "If-Modified-Since" headers) and the server responding * with "304 - Not Modified" status. *

In order to disable caching and minimize requests/responses exchanges, the {@link #noStore()} directive - * should be used. + * should be used instead of {@link #noCache()}. * @return {@code this}, to facilitate method chaining * @see rfc7234 section 5.2.2.2 */