jQuery minified
|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
jQuery minifiedHey guys, i've got two questions for you:
1. What/Where i cand find are the differences between the minified and complete jQuery version?? what kind of things i can't use with minified version?? 2. the first question was because i'm developping a big web site, we want it to be visited for many users, so i'm worried about performance and loading time, and i think 120K (complete jQuery version) could be a bit too much. I must confess i'm a noob with this "loading time" stuff :/, so any advice you can give me is welcome. Thanks |
|
|
Re: jQuery minified1. The minified version is exactly the same as the full version, it is just compacted. There should no difference in functionality between the two.
2. This is not a question. On Thu, Oct 29, 2009 at 5:05 PM, Mike <tombahamut@...> wrote: Hey guys, i've got two questions for you: |
|
|
Re: jQuery minifiedThe minified version is the exact same as the "complete". It's just
that a lot of the unnecessary things in the code has been removed (e.g. line breaks, spaces, shorten variable names, etc.) that massively reduces the size of the file but achieve the exact same functionality. If you look at the source of both files you'll notice the differences in the code. On Oct 29, 2:05 pm, Mike <tombaha...@...> wrote: > Hey guys, i've got two questions for you: > > 1. What/Where i cand find are the differences between the minified and > complete jQuery version?? what kind of things i can't use with > minified version?? > > 2. the first question was because i'm developping a big web site, we > want it to be visited for many users, so i'm worried about performance > and loading time, and i think 120K (complete jQuery version) could be > a bit too much. > I must confess i'm a noob with this "loading time" stuff :/, so any > advice you can give me is welcome. > > Thanks |
|
|
RE: jQuery minifiedA common solution is to use the "minified" version and
then gzip that file to the client. There are many gzip solutions, depending on the server you
have. JSP, PHP, ASP, etc. The idea is that it compresses the minified file (sort of light
a lightweight ZIP or RAR) and it is downloaded in this compressed form. The
browser "unzips" the file when it downloads it. So that 120kb file turns into 19kb download. JK From: Ziling Zhao
[mailto:zilingzhao@...] 1. The minified version is
exactly the same as the full version, it is just compacted. There should no
difference in functionality between the two. On Thu, Oct 29, 2009 at 5:05 PM, Mike <tombahamut@...> wrote: Hey guys, i've got two questions for you: |
|
|
Re: jQuery minifiedYou nut bags forgot to mention to the noob,
Use the AJAX hosted Google URL directly in your source code like so: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/ jquery.min.js"></script> A lot of sites are using this so its already cached on people's browsers so the download is ZERO in a lot of cases. Hello? Sorry, didn't mean to call you all "nut bags". I really should have said "scrotums" as a proper term. On Oct 29, 4:05 pm, Mike <tombaha...@...> wrote: > Hey guys, i've got two questions for you: > > 1. What/Where i cand find are the differences between the minified and > complete jQuery version?? what kind of things i can't use with > minified version?? > > 2. the first question was because i'm developping a big web site, we > want it to be visited for many users, so i'm worried about performance > and loading time, and i think 120K (complete jQuery version) could be > a bit too much. > I must confess i'm a noob with this "loading time" stuff :/, so any > advice you can give me is welcome. > > Thanks |
|
|
Re: Re: jQuery minifiedThanks for posting the Google URL; that's good information. But name-calling and foul language are not welcome here.
-Mike On Sun, Nov 1, 2009 at 1:17 PM, Joonha <joonha.sebring@...> wrote: You nut bags forgot to mention to the noob, |
| Free embeddable forum powered by Nabble | Forum Help |