When using the getForLookupPath method of resourceUrlProvider to automatically add version numbers to static resource files When modifying the image in css file, the image md5 changes, but the image md5 in css does not change.

spring.resources.chain.enabled=true spring.resources.chain.strategy.content.enabled=true spring.resources.chain.strategy.content.paths=/**

Spring Boot v2.0.5.RELEASE id 'org.springframework.boot' version '2.0.5.RELEASE'

Such as 945f678303f970be2fd9337a95d14f7c in /images/common/checks-mbg-945f678303f970be2fd9337a95d14f7c.png will not change

Comment From: bclozel

What do you mean by "change"? Are you changing resources at runtime? I don't think we support this use case at all.

Comment From: branchen

@bclozel hi,Thank you for your feedback

Instead of changing assets at runtime, the.css file has an image url. When the development environment changes the image, the MD5 version of the image url will change when the server is rebooted, but the MD5 version of the image url in the css file will not change, and the MD5 version of the css file will not change.

Comment From: bclozel

I'm not sure I understand. Can you share a minimal sample application that shows this?

Comment From: spring-projects-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: spring-projects-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.