Hi,

Are you familiar with http://code.google.com/apis/ajaxlibs/ ? It's
Google's distribution network for many of the popular frameworks,
jQuery included. It's fast, it serves files gzipped, and it provides
proper headers. The idea is, if you use it to serve jQuery to your
users, there's a good chance they wouldn't even download those files,
as they probably already have them cached "forever" in their browsers.

Try explaining that to your client - if they choose to serve jQuery
from the same location as many other websites do, they'll end up with
less traffic *and* a better experience for their users.

PS I'm in no way affiliated with Google :)

On Fri, Aug 14, 2009 at 9:30 AM, braksa...@gmail.com<braksa...@gmail.com> wrote:
>
> I have written a small amount of jQuery for a client and they are
> unhappy with the fact that jQuery contains code that isn't used on the
> website, so they've told me to remove everything from jQuery except
> for what I'm using (which is a selector with .find(), .hover(),
> and .animate() )
>
> I have checked jQuery trunk out of SVN and tried commenting out lines
> in the make file which refer to .js files I am not using such as
> ajax.js or support.js  but as soon as I comment out one of these lines
> and run the make, the jQuery no longer works.
>
> Has anybody done anything like this before and can give some advice on
> cutting out the majority of functions?
>
> >
>



-- 
Лёня Хачатуров

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to