Skip to content

WebFluxAutoConfiguration ignores spring.resources.cache.cachecontrol #14724

@astiob

Description

@astiob

#10514 added a spring.resources.cache.cachecontrol application property in addition to spring.resources.cache.period to allow for fine-grained control of the Cache-Control HTTP response header. Unfortunately, support for this property was only added to WebMvcAutoConfiguration but not to WebFluxAutoConfiguration, even despite WebFlux being mentioned in the discussion. As a result, WebFlux still honours only spring.resources.cache.period and ignores the new property completely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions