Cache busting issue when configured ContentVersionStrategy + CssLinkResourceTransformer #26382
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: pending-design-work
Needs design work before any code can be developed
type: enhancement
A general enhancement
Milestone
When configuring
ContentVersionStrategy
we are experiencing a problem when aresource
referenced in a css file is modified (url with md5 hash changed) but thecss
file itself remains exactly the same (same md5 hash).We are not getting the last version as the application is rewritting the resource with the same hash (i.e:
style-8736f7fc00b943645acfcde4d1456233.css
) but the actual content is different (different hashes in the rewritten urls inside de css file).Are we doing something wrong?
Is there a way to compute de md5 hash (
ContentVersionStrategy
) after content of the css has been transformed by theCssLinkResourceTransformer
?The text was updated successfully, but these errors were encountered: