Fix typo in headers asciidoc

This commit is contained in:
Ashley Scopes 2021-08-15 15:08:52 +01:00 committed by Josh Cummings
parent 95c2403968
commit 729418ad7a
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ Spring Security includes <<headers-cache-control,Cache Control>> headers by defa
However, if you actually want to cache specific responses, your application can selectively add them to the https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/server/reactive/ServerHttpResponse.html[ServerHttpResponse] to override the header set by Spring Security.
This is useful to ensure things like CSS, JavaScript, and images are properly cached.
When using Spring WebFluxZz, this is typically done within your configuration.
When using Spring WebFlux, this is typically done within your configuration.
Details on how to do this can be found in the https://docs.spring.io/spring/docs/5.0.0.RELEASE/spring-framework-reference/web-reactive.html#webflux-config-static-resources[Static Resources] portion of the Spring Reference documentation
If necessary, you can also disable Spring Security's cache control HTTP response headers.