Hi,
i use this in config.json to disable nocache option, and it works:
"jobs": {
"source-script": {
"compile-options": {
"uris": {
"add-nocache-param": false
}
}
},
"source-all-script": {
"compile-options": {
"uris": {
"add-nocache-param": false
}
}
}
}
Gian Marco Gherardi
http://gianmarco.gherardi.me
On Thu, Aug 25, 2011 at 2:02 PM, telekosmos <[email protected]> wrote:
> Hi
> I just started to use qx in a trail to get a framework to develop a pretty
> big project. Looks nice, but I first found a issue which is very weird, as
> the documentation and the previous posts are pretty clear about it, but I
> couldnt make to work the add-nocache-param. The piece of config.json looks
> like:
>
> "jobs":
> {
> "qxoo" :
> {
> // ... more options
> "compile-options" :
> {
> "paths" :
> {
> "loader-template" : "../tool/data/generator/oo.loader.tmpl.js"
> },
> "uris" :
> {
> "script" : "script", // ".",
> "resource" : "resource", //".",
> "add-nocache-param":false
> }
> }
> },
>
> With this configuration, the random id is still added to js files unless I
> comment the following piece of code in
> myapplication/source/script/myapplication.js, decodeUris function:
> if (qx.$$loader.addNoCacheParam) {
>
> euri += "?nocache=" + Math.random();
> }
>
> I set up the application by using 'create-application.py' and generated it
> by using the 'generate.py source-all', just as borrowed from 'getting
> started' 'hello world' example.
> so, what can be wrong with my config? are there any further steps to take
> after changing config.json?
>
> thanx in advance, and sorry if this is a dumb question (i just started
> yesterday to play around )
>
> w i l l y
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/Trouble-with-the-nocache-compiler-option-tp5995041p6724199.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> EMC VNX: the world's simplest storage, starting under $10K
> The only unified storage solution that offers unified management
> Up to 160% more powerful than alternatives and 25% more efficient.
> Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel