org.zkoss.zk.WCS.cache"
From Documentation
(Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zk.WCS.cache Default: <i>true</i> [since 5.0.11] [since 6.0.1] Specifies whether to cache the result of ...") |
m ((via JWB)) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
'''Property:''' | '''Property:''' | ||
org.zkoss.zk.WCS.cache | org.zkoss.zk.WCS.cache | ||
+ | |||
+ | {{GlobalLibraryProperty}} | ||
Default: <i>true</i> | Default: <i>true</i> | ||
− | + | {{versionSince|5.0.11}} | |
Specifies whether to cache the result of ZK WCS files (the stylesheets of components) at the server. By default, it is enabled. It means the Stylesheet specified in a WCS file is loaded and cached at the server. The performance is good. However, if you are debugging the widget styling and you'd like to modify the content without restarting the server, you could disable the caching of WCS files. | Specifies whether to cache the result of ZK WCS files (the stylesheets of components) at the server. By default, it is enabled. It means the Stylesheet specified in a WCS file is loaded and cached at the server. The performance is good. However, if you are debugging the widget styling and you'd like to modify the content without restarting the server, you could disable the caching of WCS files. |
Latest revision as of 09:34, 14 March 2022
Property:
org.zkoss.zk.WCS.cache
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: true
Since 5.0.11
Specifies whether to cache the result of ZK WCS files (the stylesheets of components) at the server. By default, it is enabled. It means the Stylesheet specified in a WCS file is loaded and cached at the server. The performance is good. However, if you are debugging the widget styling and you'd like to modify the content without restarting the server, you could disable the caching of WCS files.
Notice that you don't have to turn it off if you restart the server each time you modify the widget's css files.