Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-16864

ResourceHandlerRegistry example in ref docs needs to use setCacheControl

    Details

      Description

      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!

        Attachments

          Activity

            People

            • Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              zhouzhou19950825 cafebaby
              Last updater:
              Stéphane Nicoll
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                20 weeks, 6 days ago