-
FEATURED COMPONENTS
First time here? Check out the FAQ!
hi, how can ZK prevent the browser from making the cashe of the pages .zul?
please help, thanks
You can use the page directive at the begining of your zul page, property cacheable
Check http://www.zkoss.org/doc/devref/ch02s02s07.html
I think default zul page sets to no cache already.
Set org.zkoss.web.classWebResource.cache
to false in zk.xml
<?xml version="1.0" encoding="UTF-8"?>
<zk>
<library-property>
<name>org.zkoss.web.classWebResource.cache</name>
<value>false</value>
</library-property>
</zk>
Asked: 2009-02-24 14:28:16 +0800
Seen: 517 times
Last updated: Jun 26 '18