Как я могу скрыть Vaadin version?

 <script type="text/javascript" src="./VAADIN/vaadinPush.js?v=8.9.2-6-cuba"></script>   <script type="text/javascript" src="./VAADIN/vaadinBootstrap.js?v=8.9.2-6-cuba"></script>   <script type="text/javascript">

Добрый день.

Версию скрыть нельзя, она добавляется, чтобы обойти кэширование при обновлении на новую версию.

Глеб

public class XmppWebClientBootstrapListener extends CubaBootstrapListener {

    @Override
    public void modifyBootstrapFragment(BootstrapFragmentResponse response) {
        SimpleDateFormat format = new SimpleDateFormat("dd.MM.yyyy");
        Date currentDate = new Date();
        List<Node> nodes = response.getFragmentNodes();
        for (Node node : nodes) {
            if (node.toString().contains("js?v=") && !node.toString().contains("Failed to load")) {
                String fakeVersion = node.attr("src").replace(Version.getFullVersion(), format.format(currentDate));
                node.attributes().put("src", fakeVersion);
            }
            if (node.toString().contains("Failed to load")) {
                String fakeHTML = ((Element) node).html().replaceAll(Version.getFullVersion(), format.format(currentDate));
                fakeHTML = fakeHTML.substring(11);
                ((Element) node).html(fakeHTML);
            }
        }
        super.modifyBootstrapFragment(response);
    }

Вот так вот получилось, заменяется на дату