Skip to main content

Wij hebben onze applicatie geupgradet naar versie 2025.2.12.3

 

Op het moment dat wij onze geupgrade applicatie uitrollen, dan krijgt de gebruiker de nieuwe css weergave niet te zien. De oude css is per gebruiker gecachet.

-> Hoe kunnen we er bij een uitrol technisch voor zorgen dat de gebruikers direct na de uitrol wel de nieuwe css weergave te zien krijgen?

 

NB: we hebben wat testjes gedaan met handmatige acties die een gebruiker eventueel zelf zou kunnen uitvoeren

  • Een clear cache uitvoeren, voordat je inlogt helpt niet
  • een paar keer CTRL-F5 uitvoeren als je in de applicatie bent ingelogd helpt niet
  • Tot nu toe is het enige dat helpt: Als je in de applicatie bent ingelogd: F12 uitvoeren, Naar Network, Disable cache aanvinken en reload aanklikken.
    -> Maar dit kunnen we niet aan de eindgebruikers van onze klanten gaan vragen.

Naar ons weten zit er geen versioning op jullie css. En kunnen wij ook zelf vanuit Thinkwise geen versie eraan hangen.
-> Dus hierbij aan jullie het verzoek om de vraag (die is gesteld in de titel) te beantwoorden.

Hoi Ingrid,

First of all, let’s continue this conversation in English, so our international viewers of the community can also read it.

Question: is the customCss file stored physically in the folder of the deployed Universal GUI or is it linked to a WebDomain in IAM (available since the 2025.1 platform release).

 


We use a fake import url as first line in custom.css (the file is stored physically in the folder), this forces the browser to reload the css when changed:

@import url("custom-version.css?v=20251024");


Our UI software can not automatically update or maintain the file when physically stored on disk. For the physical file the trick is indeed to give it some kind of versioning, so the browser detects a different file and stops caching it.

Now the file is stored in IAM at the Web-domain gives us more possibilities to reload the file more often and to detect changes made to it. The file requested through Indicium and Indicium already does change detection against the IAM database, where the file is currently stored. The only manual action in this is that Indicium has to be restarted atm to get the updates.

We are currently working on an update of Indicium where Indicium can detect global changes in IAM, without the need of a restart. The manual restart required for this is not required anymore after that. Keep an eye to the upcoming release notes for that.

We advice you to move the custom.css file to the web-domains asap, because it gives you more control already.