top | item 10998975

(no title)

marklawrutgers | 10 years ago

Is it okay to minify .css files for production or does it not really matter that much?

discuss

order

SquareWheel|10 years ago

It's usually recommended. Source maps help you still find right line numbers and test changes, while minification+concatenation lets you write CSS across many files without worrying about HTTP requests.

Do note this practice may be discouraged as HTTP2 gains wider adoption.

tomschlick|10 years ago

> Do note this practice may be discouraged as HTTP2 gains wider adoption.

Concatenation yes, minifying is always a good thing though.