Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable CSS minifier in Liferay?

Tags:

css

liferay

I am using Liferay 5.2.3 CE. How can I disable css minifier.

Thanks.

like image 525
Wasim Shaikh Avatar asked Oct 14 '10 07:10

Wasim Shaikh


People also ask

What is a CSS Minifier?

What is CSS minification? CSS minification is the process of removing unneeded code from CSS source files, with the goal of reducing file size without changing how the CSS file executes in the browser.

How do you use CSS Minifier?

Go to minifycode.com and click the CSS minifier tab. Then paste the CSS code into the input box and click the Minify CSS button. After the new minified code is generated, copy the code. Then go back to the css file of your website and replace the code with the new minified version.


1 Answers

you can do this for the whole Liferay instance by specifying

theme.css.fast.load=false

in your portal-ext.properties file. However, if it's for verification pupose, you can just add css_fast_load=0 in your request parameters.

Arnaud

like image 170
Arnaud Deslandes Avatar answered Sep 27 '22 15:09

Arnaud Deslandes