Disabling, at runtime, the minification of JS/CSS files in Liferay
Most of the time, it is a good idea to have Lifeary minify JS and CSS files in order to increase performance of the site. However, during development, when we want to inspect some JS code or similar, it is useful to disable that in order to be able to understand what code is being executed and what it is doing. This recipe shows a way to achieve that with the addition of a couple of request parameters that will disable the filtering filter that minimizes those files.
As explained here, we can append the following request parameters to the URL of the page we are looking at:
The parameter js_fast_load set to 0 (or false), will skip the minification of the JS files. The css_fast_load set to 0 (or false), will skip the minification of the CSS files. Finally, strip set to 0 (or false), disables HTML stripping.