org.zkoss.zk.ui.versionInfo.enabled"
From Documentation
Line 12: | Line 12: | ||
By default, each page will display the comment containing ZK version which the current web application is using. If a user wants to hide the info in security consideration, he can specify this library property as <code>false</code>. | By default, each page will display the comment containing ZK version which the current web application is using. If a user wants to hide the info in security consideration, he can specify this library property as <code>false</code>. | ||
− | = Break Browser | + | = Break Browser Cache = |
{{versionSince| 8.5.0}} | {{versionSince| 8.5.0}} | ||
Revision as of 03:29, 1 December 2021
Property:
org.zkoss.zk.ui.versionInfo.enabled
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: true [Since 6.5.5]
It specifies whether to show ZK version on each page.
By default, each page will display the comment containing ZK version which the current web application is using. If a user wants to hide the info in security consideration, he can specify this library property as false
.
Break Browser Cache
Since 8.5.0
The value other than true
is considered false
. And this value will be taken as salt to obfuscate the version info which is needed in resource caching. For instance, "zk_is_good" can be used to hide the version info and obfuscate it when needed.