alecgorge's avatar
shared this idea 2 years ago
idea

Give jQuery Minified as an option

I have run into several cases where jQuery packed has caused issues in browsers (document.ready and curveycorners), so offering jQuery minified shouldn't be too hard.

This is inappropriate

2 other people like this idea.

Login to reply


alecgorge

i just downloaded the deploy 1.3.2 source and I found jquery-1.2.6.min.js in the deploy\files\JavaScript\jQuery folder. What's with that?
Inappropriate?
alecgorge

i see minified and gzipped, but I just want minified as my host doesn't like gzipping.
Inappropriate?
Oscar Godson

I got the files from jquery.com and they now, after the reskinning of their site, only have those two. They used to have packed, but no longer support it and I will probably discontinue support for it as well in the 1.4 release.


I have a few questions for you to maybe help speed up the process of implementing this:


1. Who is your host? I would like to speak to them about possible ways around this for future users and what exactly they do and don't allow, javascript wise.


2. Where are you currently downloading your minified jQuery script that is not gzipped? I will probably include this in the latest release if you send it :)


3. Have you tried this persons solution? :

http://www.julienlecomte.net/blog/200...


If you have does it work? I haven't used it since I have never worked on a host that didn't allow gzipping.


Thanks! You can reply to your answers here, or if you have a file, you can send it to info@projectdeploy.org


1.4 is scheduled to be released before the end of the month, so send it over :).
pondering I'm pondering
Inappropriate?
alecgorge

You can get all the jQuery files:


jQuery 1.2.6 (Source Code, Test Suite)


jquery-1.2.6.pack.js jQuery 1.2.6 (Packed)


jquery-1.2.6.min.js jQuery 1.2.6 (Minified)


jquery-1.2.6.js jQuery 1.2.6



at http://code.google.com/p/jqueryjs/dow....
Inappropriate?
alecgorge

1. 1&1 (http://www.1and1.com). They don't allow Apache gzipping through .htaccess, and php is disabled to the best of my knowlege.



2. http://code.google.com/p/jqueryjs/dow...



3. Yes. It doesn't work for me.
Inappropriate?
Oscar Godson

Thanks!


jquery-1.2.6.min.js you are saying is NOT gizipped?


I looked at the code and it looks exactly the same. How can I tell it isn't gzipped?


This is the one I downloaded for Deploy* 1.x, or at least 99% positive since I downloaded it from code.google.com before.
Confused I'm Confused
Inappropriate?
alecgorge

Well, I just assumed that on the jQuery website, when it says "minified and gzipped", that it actually was a different file than just a minified file. Maybe you should change the description then "minified (good for gzipping)".
(1)
Inappropriate?
Oscar Godson

Yeah, this could confuse some people since the web site says gzipped and the download they link to is not. This change will most likely come in 1.5 since the new 1.4 (getting close to release) will have Google's AJAX framework for running all the popular javascript frameworks running it and is a total change then running an actual .js file on your own server. This change has opened a lot of new doors, but at the same time I have to rebuild that part of Deploy*.



Thanks for the input. It's down for 1.5 :)
Inappropriate?
alecgorge

great!
Inappropriate?
Oscar Godson

Now with Google's AJAX Library it wont need you to have your hosting provider allow compression, or at least to the best of my knowledge it shouldn't. Also, you can only choose the dev version (uncompressed) or the default which is the minified version and Deploy*, for now anyways, will only give you the option to the latest default jQuery minified version.


I marked this as no plans just because there really is no other options and won't matter to the developer since the code is hosted on another server, or, CDN.
thankful I'm thankful
Inappropriate?

Login to reply