If you're using Tomcat you should edit the setenv file (setenv.sh in Linux or setenv.bat in Window).
Look for the CATALINA_OPTS line and add this option to JVM:
-Dexternal-properties=portal-developer.properties
Then you should edit the portal-developer.properties
(located at Tomcat/webapps/ROOT/WEB-INF/classes)
In this file you have a lot of properties that you change but i use it mainly for this three:
theme.css.fast.load
theme.images.fast.load
javascript.fast.load
You can set cache off for css,images and javascript by simply set this properties to false. This is great if your testing updates in JSP, CSS or Javascript and want to see the changes right away.
Restart your application server.
Sem comentários:
Enviar um comentário