Skip to main content

When we update the custom CSS file used for our Universal GUI, the interface on our mobile devices does not automatically reflect the changes.

We are currently running our application as a web application through Chrome on our devices.

The issue we're facing is that, after updating the custom CSS, we have to manually clear the Chrome cache on each individual device in order for the changes to take effect.

Since we have quite a few devices in use, this process is very time-consuming and inefficient.

Is there an easier or more automated solution for this?

@Stanstaay, after reviewing your question, we concluded that you currently don’t have a good way of doing this. The only option available is to exempt the entire file from browser caching by setting the cache control to 'DisableCache' in IIS. But that would mean it will never be cached. 

This is not an acceptable solution, and we think it would be best if the custom.css becomes ‘part’ of the Universal cache. That way, when you change the custom.css, the user will get the “There is a new version dialog. “ This has some disadvantages on our side; we will put this on the backlog to investigate. 


NewOpen

As a workaround, we use a fake import with a version nummer to force a reload when we make a change. First line in custom.css: @import url("version-custom.css?v=20251002");