org.zkoss.zk.WPD.cache"

From Documentation
(Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zk.WPD.cache Default: <i>true</i> [since 5.0.7] It's a developing feature for ZK core developer or component...")
 
m
Line 1: Line 1:
 
  {{ZKConfigurationReferencePageHeader}}
 
  {{ZKConfigurationReferencePageHeader}}
 +
 
'''Property:'''
 
'''Property:'''
 
org.zkoss.zk.WPD.cache
 
org.zkoss.zk.WPD.cache
Line 6: Line 7:
 
  [since 5.0.7]
 
  [since 5.0.7]
  
It's a developing feature for ZK core developer or component developer .
+
Specifies whether to cache the result of ZK WPD files (the JavaScript code for widgets) at the server. By default, it is enabled. It means the JavaScript code specified in a WPD file are loaded and cached at the server. The performance is good. However, if you are debugging the widget's client-side code and you'd like to modify the content without restarting the server, you could disable the caching of WPD files.
 
 
 
 
By default the WPD will cache after first time you load it ,  
 
when you set it false, the WPD (the merged Widget JS Pacakge) will reload per request.
 
  
 +
Notice that you don't have to turn it off if you restart the server each time you modify the widget's client-side code.
  
{{ZKConfigurationReferencePageFooter}}
+
{{ZKConfigurationReferencePageFooter}}

Revision as of 08:08, 2 May 2011



Property: org.zkoss.zk.WPD.cache

Default: true
[since 5.0.7]

Specifies whether to cache the result of ZK WPD files (the JavaScript code for widgets) at the server. By default, it is enabled. It means the JavaScript code specified in a WPD file are loaded and cached at the server. The performance is good. However, if you are debugging the widget's client-side code and you'd like to modify the content without restarting the server, you could disable the caching of WPD files.

Notice that you don't have to turn it off if you restart the server each time you modify the widget's client-side code.



Last Update : 2011/05/02

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.