![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
![]() |
Tue, Mar 7 2017 11:00 AM | Permanent Link |
thomh | Hi,
Is there a way to tell the browser not to cache the file/image that is returned and loaded when setting the TImage.URL property? I return an image file from my server using a single filename but the content is always a different image. It is only the first time I set the TImage.URL property that it goes to the server to read the file. Consecutive URL property assignments gets the image from the browser cache. Thanks. // Thom |
Tue, Mar 7 2017 11:13 AM | Permanent Link |
Uli Becker | Thom,
> It is only the first time I set the TImage.URL property that it goes to the server to read the file. Consecutive URL property assignments gets the image from the browser cache. I can't help you with the question how to avoid the cache, but that's what I do: Image1.URL := 'MyImage.jpg' + '?' + FloatToStr(Random); With the param the image is different for the browser and is loaded correctly. Uli |
Tue, Mar 7 2017 11:28 AM | Permanent Link |
thomh | Excellent, Uli!
That fooled the browser cache. Thank you. // Thom |
This web page was last updated on Thursday, March 30, 2023 at 10:19 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |