New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResourceHandlerRegistry example in ref docs needs to use setCacheControl [SPR-16864] #21403

Closed
spring-issuemaster opened this Issue May 22, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

spring-issuemaster commented May 22, 2018

cafebaby opened SPR-16864 and commented

I found the text block description error, configuring "ResourceHandlerRegistry" in spring Webflux, and I first did not conform to the document description, because he did not have a method of setCachePeriod, only setCacheControl (CacheControl.maxAge (31556926, TimeUnit.SECONDS)), hoping to correct the contents of the document. Thank you!


Affects: 5.0.6

Reference URL: https://docs.spring.io/spring/docs/current/spring-framework-reference/web-reactive.html#webflux-config

Referenced from: commits 1943a1f, eed663f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment