-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
i have a Web-App designed with zk ce 8.0.2 for IOS and Android. The app run in full-screen mode. On the Startscreen are 9 Buttons with Icons. if the internet connection is very slow, it takes a while until the icons are loaded because the icons are very high resolution.
Is it possible to store the Icons direct on the Device, so they do not always have to be loaded via the server? Maybe someone has an idea?
Best regards Andi
Thanks for your answer! My icons are very special so i can not use the Font awesome icons. The example in the blog use MVVM-Pattern, i use MVC-Pattern and the CE-Version. Is it possible to use the Offline Recovery Feature of Fragment Component anyway?
The icons, are they in multicolor or can you use also Font awesome icons?
I prefer to use font awesome for that reason, but I know it's not always possible.
Otherwise, you can check this out :
http://blog.zkoss.org/2017/07/06/zk-8-5-preview-the-offline-recovery-feature-of-fragment-component/
by default images/icons should be cacheable by the client browser so they only have to be downloaded once.
How do you apply the images to the button? Maybe you disabled caching in your application- or webserver. Are you using any non cacheable urls?
Robert
Asked: 2018-01-24 17:05:08 +0800
Seen: 14 times
Last updated: Jan 25 '18
zkspringmvc jar licence is GPL ?
Build web application without any zul files
Custom component that extends Textbox does not fire onChange event
java.lang.NullPointerException to update to zk 8.0.1
"Spring Session" + ZK + "Spring core" @Listen method refresh the screen
zk8 client side binding to a viewmodel command seems not to work
upload event dialog do not open in browser
Notification is not shown inside sticky block
Where can I find documentation (like ZK Developer's Reference) for ZK 8.0.2.2 ?