CacheControl (Spring Framework 5.0.0.RELEASE API) (original) (raw)

public class CacheControl
extends Object
A builder for creating "Cache-Control" HTTP response headers.
Adding Cache-Control directives to HTTP responses can significantly improve the client experience when interacting with a web application. This builder creates opinionated "Cache-Control" headers with response directives only, with several use cases in mind.