org.zkoss.web.classWebResource.cache.CSS.hours

From Documentation
Revision as of 07:09, 7 July 2016 by Robertwenzel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.web.classWebResource.cache.CSS.hours
org.zkoss.web.classWebResource.cache.CSS.hours


Property:

org.zkoss.web.classWebResource.cache.CSS.hours
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: 8760
[Since 3.6.3]

It specifies the number of hours in that period the CSS files of class Web resources won't be changed.

By default, it is 8760 (the same as other class Web resources). Notice that the resource is reloaded. If you want to turn off the cache of the CSS files of class Web resources, you can specify a non-positive value.

<library-property>
	<name>org.zkoss.web.classWebResource.cache.CSS.hours</name>
	<value>8760</value>
</library-property>



Last Update : 2016/07/07

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