jQuery: The Write Less, Do More JavaScript Library

jQuery minified

View: New views
6 Messages — Rating Filter:   Alert me  

jQuery minified

by Mike-678 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 minified

by Bugzilla from zilingzhao@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

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:

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 minified

by James-279 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The 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 minified

by Jeffrey Kretz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

A 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@...]
Sent: Thursday, October 29, 2009 5:17 PM
To: jquery-en@...
Subject: Re: [jQuery] jQuery minified

 

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.

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:

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 minified

by Joonha :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You 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 minified

by Michael Geary-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks 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,

Use the AJAX hosted Google URL directly in your source code like so:
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