asked 2014-08-27 08:14:09 +0800

IngoB gravatar image IngoB flag of Germany
256 6

updated 2014-08-27 08:16:18 +0800


I want to know if "org.zkoss.web.classWebResource.cache" is ONLY caching CSS AND JS or something else which will impact the performance? The customer always has to manually clear the cache if we ship new CSS/JS files, so I thought about not caching JS/CSS.

thank you

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2015-04-07 03:13:10 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Yes, it is used for web resource like CSS and JS files, another way to solve the new version of CSS/JS files is to use the javascript-module that you have to pack your CSS and JS files into a custom-component.

link publish delete flag offensive edit

answered 2018-06-26 11:15:54 +0800

matthung gravatar image matthung
3 2

You can turn off the zul and imported css file via <?link> cache by the following settings in zk.xml

<?xml version="1.0" encoding="UTF-8"?>
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2014-08-27 08:14:09 +0800

Seen: 33 times

Last updated: Jun 26 '18

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More