Hi All
Long time no post. But here is a little snippit of a trick I discovered but had to do some serious google searches to find.
To turn off the liferay caching in Liferay for when you are developing all you have to do is this:
Find this file:
$LIFERAY_HOME/tomcat-6.0.18/webapps/ROOT/WEB-INF/classes/portal-developer.properties
Can copy it and rename it to:
$LIFERAY_HOME/tomcat-6.0.18/webapps/ROOT/WEB-INF/classes/portal-ext.properties
This will disable all caching in Liferay such as css, javascript and vm templates.
Hope this helps.
3 comments:
The proper way would be actually adding -Dexternal-properties=portal-developer.properties to your JAVA_OPTS. Detailed instructions can be found from here: http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Liferay+Developer+Mode
Hi, guys.
Many thanks for that post. Its worked even on Liferay 6.0.5.
oh.. here it is!! I searched for this method for a long time. glad that found it here. All I need is replace file - briliant
Post a Comment