In our outerlayout.cshtml
file we have the following code:
@Html.RenderFormScripts()
which seems to loop round the JS files, that have been attached to the Sitecore form:
and create script tags for each of them in the finally outputted HTML.
Does anyone know of a way where we can add a cache buster to this functionality so that we don't have to remember to manually update the attached JS file references every time one of the source JS files changes ?
We have other areas, of the site, where JS files have cache busting on them by having a buildNumber parameter, which is incremented every time the source code is deployed to PROD, and then injecting this parameter into the script tag but it seems like we need to customise what the RenderFormScripts function does