Correct me of I am wrong Darksu, but that will only disable the cache of javascript packages. How do I disable the caching of the CSS in the .wcs files ?
JustinFrost ( 2017-06-20 06:17:52 +0800 )edit-
FEATURED COMPONENTS
First time here? Check out the FAQ!
We have a web application which has several child projects, the structure is as follows:
main-webapp (web application)
ui-component (custom zk components)
ui-theme (zk theme project)
ui-theme (2nd zk theme project)
The problem we have is when we change either the javascript or css styles in any of the child projects the browser needs a hard reload to pick them up.
I am updating the version-uid in the lang-addon, but it seems to have no effect.
I have managed to version the javascript wpd files in ui-component by adding a <javascript-module version="99.9"/> to the lang-addon there.
Unfortuantely the .WCS CSS files seem to be lumped together and I cannot find a way to give them a unique version which will change each time we create a new release of the project.
Hello JustinFrost,
You could disable the cache of the component as shown below:
https://www.zkoss.org/wiki/ZKClient-sideReference/WidgetPackageDescriptor/package#cacheable
Best,
Darksu
Correct me of I am wrong Darksu, but that will only disable the cache of javascript packages. How do I disable the caching of the CSS in the .wcs files ?
JustinFrost ( 2017-06-20 06:17:52 +0800 )editAsked: 2017-06-02 07:42:33 +0800
Seen: 43 times
Last updated: Jun 10 '17