open fun setCacheControl(cacheControl: CacheControl): ResourceHandlerRegistration
Specify the CacheControl which should be used by the resource handler.
cacheControl - the CacheControl configuration to use
Return
the same ResourceHandlerRegistration instance, for chained method invocation