-
1. Re: GateIn js caching in browser
vstorm83 Oct 21, 2011 5:03 AM (in response to nandhana03)Have you run portal in non-dev mode, and how do you deploy your js files ? if you run gatein with tomcat, you can find 2 file gatein.sh and gatein-dev.sh --> define a system propeperty : -Dexo.product.developing=true --> dev mode
Only in non-dev mode, Javascript files deploy by using gatein-resources.xml will be merged in to one file (merged.js) and it will be cached in browser after the first request
in DEV mode, JS files are not merged and not cached in browser
-
2. Re: GateIn js caching in browser
nandhana03 Oct 21, 2011 5:55 AM (in response to vstorm83)hiii......
thnx for ur reply..... I didn't get what actually u meant by Dev mode ....... can u plz explain ........
-
3. Re: GateIn js caching in browser
vstorm83 Oct 21, 2011 6:09 AM (in response to nandhana03)Run in DEV mode: you run tomcat/bin/gatein-dev.sh --> there is an System Property defined here (-Dexo.product.developing=true)
in tomcat/bin/gatein.sh --> you can see -Dexo.product.developing=fase
If you run JBoss server, you can add this system property to jboss/bin/run.conf to control the portal running mode
-
4. Re: GateIn js caching in browser
nandhana03 Oct 21, 2011 6:45 AM (in response to vstorm83)hiiii....
thnx for ur reply...... we had an issue with login... our application is taking too much time to login.... so we doubt whether this caching'll affect our application performance... so I think being in non dev mode'll rectify our issue.....