Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Compress multiple CSS files

DZone's Guide to

Compress multiple CSS files

·
Free Resource

  Usually when you're using different CSS files on your site, they might take a quite long to be loadedload. Using this PHP code, you can compress them into a single file with no unnecessary white spaces or comments. Why we need to compress multiple CSS files? The answer is: the compressing procedure may take a less time than a total time of loading each file separately.

 
Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}