Wednesday, September 16, 2009

Turn off caching in Liferay (development mode)

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:


Can copy it and rename it to:


This will disable all caching in Liferay such as css, javascript and vm templates.

Hope this helps.


mika said...

The proper way would be actually adding to your JAVA_OPTS. Detailed instructions can be found from here:

Anonymous said...

Hi, guys.

Many thanks for that post. Its worked even on Liferay 6.0.5.

custom writings said...

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