-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello, I ask for your support because when using the Image component when sending the route dynamically, it shows in some cases old images that had previously been shown. I don't know if it's because of cache or what might be happening. The version of zk he used is 8.5. I need your support and I have reviewed everything in terms of java and handling of the component's objects.
if you're not sure about caching, the current modern browsers have integrated developer tools to analyse the network traffic and indicate whether caches take effect or the contents are downloaded. e.g. in chrome:
https://developers.google.com/web/tools/chrome-devtools/network
To avoid unintended caching it's a good practice to make sure different images have different urls, and same images have the same url. E.g. by generating a hash code or version for a resource and append it to the url:
E.g.
like that the exact same version/hash can be cached by the browser, and different contents are loaded reliably when needed.
If you prefer dedicated support, get in contact with us.
Asked: 2020-02-25 12:16:37 +0800
Seen: 8 times
Last updated: Feb 26 '20
[Announcement] ZK 8.5.1 is now available!
Highlight new release changes/new features in demo app
How can I make a button change its image by clicking on the same button?
Problems calling function 'sec:isAnyGranted' with zkspring 3.2 and Spring Security 4
webapp folder of ZK spring boot?
Can I set in runtime a new value to library property: org.zkoss.zk.ui.processMask.enabled:
Package ZK Eclipse Tomcat Project For Deployment
AImage org.zkoss.zk.ui.UiException: java.io.FileNotFoundException