Smidge bundling and hashing issues
# help-with-umbraco
e
Hi all! We are dealing with some issues where Smidge doesn't seem to update the url to our bundled css and js files. We have read the following thread: https://discord-chats.umbraco.com/t/15696918/optimal-settings-for-smidge-runtimeminification-in-local-dev and followed @CodeSharePaul 's approach in blogpost: https://codeshare.co.uk/blog/how-to-set-up-smidge-properly-in-umbraco/. Unfortunately our problem persists. The bundled files are not generated with a hashed postfix on urls and the browser does not detect changes that have been made. Anybody else faced this issue?
c
Hi Emma, did you ever resolve this?
k
I have the same problem in Umbraco 13. The bundle URL is
/sb/bundleName.js.v1
in all environments/modes no matter how I configure runtime minification settings. Using
app.UseSmidge(bundles => { bundles.CreateJs("bundleName", "file.js")})
to bundle and
SmidgeHelper.JsHereAsync("bundleName")
to render. **EDIT: **Using the solution here worked https://github.com/umbraco/Umbraco-CMS/issues/15165, i.e., setting the Smidge cachebuster options manually, either on the bundle or globally.
7 Views