Stop Liferay minifying css and javascript

This is more of a reminder for me, but may help someone along the way, when testing portlets I sometimes have issues with my javascript or css, but the minifyer puts all the script code and css on one line, so when the browser says what line the error is, it’s not really that helpful.

For css add this to the end of the line:

?css_fast_load=0

For javascript, you’ve probably guessed it:

?js_fast_load=0

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>