org.zkoss.zk.ui.versionInfo.enabled"
From Documentation
Raymondchao (talk | contribs) (Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zk.ui.versionInfo.enabled Default: <i>true</i> [Since 6.5.5] It specifies whether to show ZK version in eac...") |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
'''Property:''' | '''Property:''' | ||
org.zkoss.zk.ui.versionInfo.enabled | org.zkoss.zk.ui.versionInfo.enabled | ||
+ | {{versionSince| 6.5.5}} | ||
+ | |||
+ | {{GlobalLibraryProperty}} | ||
Default: <i>true</i> | Default: <i>true</i> | ||
− | |||
− | |||
− | By default, each page will display the comment | + | 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 <code>false</code>. | ||
+ | |||
+ | = Break Browser Cache = | ||
+ | {{versionSince| 8.5.0}} | ||
+ | |||
+ | The value other than <code>true</code> is considered <code>false</code>. 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. | ||
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Latest revision as of 10:38, 4 May 2022
Property:
org.zkoss.zk.ui.versionInfo.enabled
Since 6.5.5
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: true
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.