d.bernaert Posted July 3, 2021 Share Posted July 3, 2021 Hello, I've changed all external images used in the unigui application (loaded using url parameter in the image control), but I did not change the filenames. Now when I open the live application, the old icons are still visible (in cache). How can I make that the browser loads the images again from the server (one time). Thx, Dominique Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 3, 2021 Share Posted July 3, 2021 42 minutes ago, d.bernaert said: I've changed all external images used in the unigui application (loaded using url parameter in the image control), but I did not change the filenames. Now when I open the live application, the old icons are still visible (in cache). How can I make that the browser loads the images again from the server (one time). Hello Dominique, As you know, clearing the cache will solve this situation. Or is this not a solution for you!? Quote Link to comment Share on other sites More sharing options...
d.bernaert Posted July 3, 2021 Author Share Posted July 3, 2021 Hi Sherzod, I know, but I can't tell 100 customers to clear their cache 🙂 Or I should rename all the images, but that are over 200 images referenced in more than 300 units.. Dominique Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 3, 2021 Share Posted July 3, 2021 19 minutes ago, d.bernaert said: Or I should rename all the images, but that are over 200 images referenced in more than 300 units.. Hi Dominique, In your case, does this mainly apply to UniImage? Quote Link to comment Share on other sites More sharing options...
d.bernaert Posted July 3, 2021 Author Share Posted July 3, 2021 Yes, They are all uniimage controls. Dominique Quote Link to comment Share on other sites More sharing options...
andyhill Posted July 3, 2021 Share Posted July 3, 2021 Instruct the Browser to load a new version every-time. DateTimeToString(s, 'yyyymmddhhmmss', Now()); UrlFileName:= FileName+'?'+s; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.