Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between "jquery.min.css" and "jquery.css"?

It is a simple doubt.

What is the difference between

http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.css

and

http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css

Anything wrong happen If i replace any of them with other, in a live site? if both were untouched(not edited previously)?

like image 760
Vishnu R Avatar asked Dec 12 '12 07:12

Vishnu R


2 Answers

You can replace them interchangeably.

The regular one is meant for examination and (if necessary) editing. The minified version makes the file as small as possible by removing all the whitespace it can. This makes it load faster for users.

like image 114
kmoney12 Avatar answered Oct 07 '22 06:10

kmoney12


The min version is minified, compressed. Functionally they should be identical. The minified version is smaller and downloads faster and should be used in production, but is unreadable and therefore bad during development.

like image 20
deceze Avatar answered Oct 07 '22 07:10

deceze