Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #28384 > unrolled thread
| Started by | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| First post | 2015-07-13 10:13 -0700 |
| Last post | 2015-07-23 08:30 -0700 |
| Articles | 20 on this page of 30 — 5 participants |
Back to article view | Back to comp.lang.javascript
Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-13 10:13 -0700
Re: Smallest JQuery FIles In The World "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-13 16:35 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-13 17:17 -0700
Re: Smallest JQuery FIles In The World "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-13 19:48 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-13 17:23 -0700
Re: Smallest JQuery FIles In The World "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-13 19:54 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-13 17:25 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-13 19:54 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-13 19:58 -0700
Re: Smallest JQuery FIles In The World "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-13 20:11 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-13 20:14 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-13 20:39 -0700
Re: Smallest JQuery FIles In The World "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-13 20:49 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-13 20:01 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-13 21:15 -0700
Re: Smallest JQuery FIles In The World "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-13 22:40 -0700
Re: Smallest JQuery FIles In The World Silvio <silvio@internet.com> - 2015-07-14 09:12 +0200
Re: Smallest JQuery FIles In The World Erwin Moller <erwinmollerusenet@xs4all.nl> - 2015-07-15 12:56 +0200
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-14 00:46 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-14 00:48 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-14 01:00 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-14 02:46 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-15 19:09 -0700
Re: Smallest JQuery FIles In The World Andrew Poulos <ap_prog@hotmail.com> - 2015-07-16 12:30 +1000
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-17 10:54 -0700
Re: Smallest JQuery FIles In The World Erwin Moller <erwinmollerusenet@xs4all.nl> - 2015-07-16 11:28 +0200
Re: Smallest JQuery FIles In The World Silvio <silvio@internet.com> - 2015-07-16 14:42 +0200
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-17 10:24 -0700
Re: Smallest JQuery FIles In The World "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-07-18 13:38 -0700
Re: Smallest JQuery FIles In The World Dave Brown <0ntariokingston@gmail.com> - 2015-07-23 08:30 -0700
Page 1 of 2 [1] 2 Next page →
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-13 10:13 -0700 |
| Subject | Smallest JQuery FIles In The World |
| Message-ID | <1935d418-6cfb-4e32-b914-ace16fdc3867@googlegroups.com> |
https://github.com/JavaScript-Packer/jquery-bzip-compressed is a collection of JQuery files that have been compressed to bzip2 and made client side extractable by adding an unpacker made in pure JavaScript. They were created on www.whak.ca/packer/JavaScript.htm where you can compress your own JS stuff. Many (most) of these JQuery files are half the size (or smaller) than any other samples, even half the size of the "min" versions on JQuery.com If google used these files, they would save terrabytes of data. There is an embedded sample there (HTM file), it gives best performance as no external files need to be called, less files to look for, etc.
[toc] | [next] | [standalone]
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
|---|---|
| Date | 2015-07-13 16:35 -0700 |
| Message-ID | <44271c2b-96cc-4535-9061-41c130cfceb3@googlegroups.com> |
| In reply to | #28384 |
On Monday, July 13, 2015 at 12:13:43 PM UTC-5, Dave Brown wrote: > https://github.com/JavaScript-Packer/jquery-bzip-compressed is a collection of JQuery files that have been compressed to bzip2 and made client side extractable by adding an unpacker made in pure JavaScript. They were created on www.whak.ca/packer/JavaScript.htm where you can compress your own JS stuff. Many (most) of these JQuery files are half the size (or smaller) than any other samples, even half the size of the "min" versions on JQuery.com > > If google used these files, they would save terrabytes of data. > > There is an embedded sample there (HTM file), it gives best performance as no external files need to be called, less files to look for, etc. And if I used gzip I wouldn't need a library at all and the page would load even faster since I wouldn't have to load it. Not to mention compression and decompression is faster with gzip than bzip. Shrinking a file to the smallest possible is not a win when the time to compress/decompress eats up the savings you might have gained from download speed.
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-13 17:17 -0700 |
| Message-ID | <4adeed62-8e2d-44bd-b052-214b7eee1122@googlegroups.com> |
| In reply to | #28384 |
https://github.com/JavaScript-Packer/jquery-bzip-compressed You can't gzip a file and just use it anywhere, needs a server set up with gzip (most free hosting places do not have, over half of web sites do not have this. Also, it makes more work on your server to decompress the file for half of your clients. The time saved from downloading out weighs the 50 milliseconds to decompress (thats as fast as a eye blink, OMG, the wait) one of those jquery files
[toc] | [prev] | [next] | [standalone]
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
|---|---|
| Date | 2015-07-13 19:48 -0700 |
| Message-ID | <972f540b-9cd6-456b-9738-a7c22c99ce11@googlegroups.com> |
| In reply to | #28388 |
On Monday, July 13, 2015 at 7:17:52 PM UTC-5, Dave Brown wrote: > https://github.com/JavaScript-Packer/jquery-bzip-compressed > > You can't gzip a file and just use it anywhere, needs a server set up with gzip (most free hosting places do not have, over half of web sites do not have this. Provide some statistics for this. You are exaggerating to say the least. The last I've seen are ~15% and that is from 2009 [1] > Also, it makes more work on your server to decompress the file for half of your clients. Disregarding your "half" comment, why would you ever want to decompress the file on the fly from the server? > The time saved from downloading out weighs the 50 milliseconds to decompress (thats as fast as a eye blink, OMG, the wait) one of those jquery files bzip2 is still a poor decision [2] [1] <http://www.stevesouders.com/blog/2009/11/11/whos-not-getting-gzip/> [2] <http://tukaani.org/lzma/benchmarks.html>
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-13 17:23 -0700 |
| Message-ID | <27e60b6d-9605-4e95-8132-1db0879714ff@googlegroups.com> |
| In reply to | #28384 |
https://github.com/JavaScript-Packer/jquery-bzip-compressed Those I can use even on Google's blogspot.com blog hosting, lets see you do that with your gzipped jquery files. Here is a bzipped jquery running on jsfiddle http://jsfiddle.net/nk6Lryos/ , lets see you do that with your plain zipped file
[toc] | [prev] | [next] | [standalone]
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
|---|---|
| Date | 2015-07-13 19:54 -0700 |
| Message-ID | <c76d05a1-1df2-40fb-a860-021c7ebf9b96@googlegroups.com> |
| In reply to | #28389 |
On Monday, July 13, 2015 at 7:23:08 PM UTC-5, Dave Brown wrote: > https://github.com/JavaScript-Packer/jquery-bzip-compressed > Those I can use even on Google's blogspot.com blog hosting, lets see you do that with your gzipped jquery files. Here is a bzipped jquery running on jsfiddle http://jsfiddle.net/nk6Lryos/ , lets see you do that with your plain zipped file You're missing the point completely. The point is that you chose a poor compression algorithm and also exaggerate the scale of the problem. If I wished to hack around an inability of a server to send compressed textual content and/or a client to accept it, I would probably use the referenced approach(s) and leverage more of the browser platform instead of loading yet another library. [1][2] [1] <https://web.archive.org/web/20080801153841/http://blog.nihilogic.dk/2008/05/compression-using-canvas-and-png.html> [2] <http://www.iamcal.com/png-store/>
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-13 17:25 -0700 |
| Message-ID | <830b1091-1d09-477e-a666-e2a1f9c4d9fb@googlegroups.com> |
| In reply to | #28384 |
https://github.com/JavaScript-Packer/jquery-bzip-compressed are good for standalone cell phone apps or web pages you want to run offline. How you gonna do that with just a gzipped file without client side decompression?
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-13 19:54 -0700 |
| Message-ID | <0d77ff00-35d1-48c4-a8de-5f3d18e78175@googlegroups.com> |
| In reply to | #28384 |
https://github.com/JavaScript-Packer/jquery-bzip-compressed YOU ARE NOT FORCED TO USE THEM. Stop trolling me. This is about client side compression, so please go to another post...
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-13 19:58 -0700 |
| Message-ID | <718b8d5e-8162-438b-8f30-f5e9866d8ef2@googlegroups.com> |
| In reply to | #28384 |
Speed tests on http://www.whak.ca/speed-test.htm (appears bzip is faster than gzip, lol) https://github.com/JavaScript-Packer/jquery-bzip-compressed
[toc] | [prev] | [next] | [standalone]
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
|---|---|
| Date | 2015-07-13 20:11 -0700 |
| Message-ID | <91e6c78c-4bc1-4df3-bfe3-43f9c83b2746@googlegroups.com> |
| In reply to | #28395 |
On Monday, July 13, 2015 at 9:58:56 PM UTC-5, Dave Brown wrote: > Speed tests on http://www.whak.ca/speed-test.htm (appears bzip is faster than gzip, lol) Given the erroneous JavaScript on your page, to say that I don't believe your numbers is an understatement to say the least...
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-13 20:14 -0700 |
| Message-ID | <835d4b90-d4e4-42ef-aaaa-23b6753db8dd@googlegroups.com> |
| In reply to | #28397 |
Then stop asking me for proof like http://www.whak.ca/speed-test.htm if you cannot handle the truth
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-13 20:39 -0700 |
| Message-ID | <86a073da-1bd3-448b-87c8-3d2c58419b6f@googlegroups.com> |
| In reply to | #28397 |
False accusations will not help your cause. If my JavaScript is wrong and that speed test page only has JavaScript in it, is it magic then that loads www.whak.ca/speed-test.htm? CLient side compression is useful for places without server side compression like blogs, cell phone applications, free hosting spots, standalone web page applications in HTML5 and more. Tools to create your own client side compressed files: www.whak.ca/packer/JavaScript.htm www.whak.ca/packer/HTML.htm www.whak.ca/packer/CSS.htm www.whak.ca/packer/PNG.htm
[toc] | [prev] | [next] | [standalone]
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
|---|---|
| Date | 2015-07-13 20:49 -0700 |
| Message-ID | <75e0c7d3-22e5-4db6-96dd-cda442e91074@googlegroups.com> |
| In reply to | #28399 |
On Monday, July 13, 2015 at 10:39:46 PM UTC-5, Dave Brown wrote: > False accusations will not help your cause. If my JavaScript is wrong and that speed test page only has JavaScript in it, is it magic then that loads www.whak.ca/speed-test.htm? How sad. Lost in your own hubris and ignorance...
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-13 20:01 -0700 |
| Message-ID | <2368ef05-9e9a-40aa-bc06-51f4b0d12b5c@googlegroups.com> |
| In reply to | #28384 |
PNG compression you mention, here is my PNG packer, 3 different algorithms, the first one uses zlib compression http://www.whak.ca/packer/PNG.htm
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-13 21:15 -0700 |
| Message-ID | <3276d6d6-146e-485c-b0d9-9a891d6a7359@googlegroups.com> |
| In reply to | #28384 |
Ignorance? LOL. Let's see what you can come up with for client side compression other than being a useless web troll... Anything like these? www.whak.ca/packer/JavaScript.htm www.whak.ca/packer/HTML.htm www.whak.ca/packer/CSS.htm www.whak.ca/packer/PNG.htm
[toc] | [prev] | [next] | [standalone]
| From | "Michael Haufe (TNO)" <tno@thenewobjective.com> |
|---|---|
| Date | 2015-07-13 22:40 -0700 |
| Message-ID | <bd941f6b-b021-473c-9571-092dd8eb9c00@googlegroups.com> |
| In reply to | #28401 |
On Monday, July 13, 2015 at 11:15:17 PM UTC-5, Dave Brown wrote: > Ignorance? LOL. Let's see what you can come up with for client side compression other than being a useless web troll... > > Anything like these? > > www.whak.ca/packer/JavaScript.htm > www.whak.ca/packer/HTML.htm > www.whak.ca/packer/CSS.htm > www.whak.ca/packer/PNG.htm You could try actually looking at one of the solutions I've already provided. I know they don't have many pretty pictures, but try your best.
[toc] | [prev] | [next] | [standalone]
| From | Silvio <silvio@internet.com> |
|---|---|
| Date | 2015-07-14 09:12 +0200 |
| Message-ID | <55a4b66d$0$2863$e4fe514c@news2.news.xs4all.nl> |
| In reply to | #28384 |
On 07/13/2015 07:13 PM, Dave Brown wrote: > https://github.com/JavaScript-Packer/jquery-bzip-compressed is a collection of JQuery files that have been compressed to bzip2 and made client side extractable by adding an unpacker made in pure JavaScript. They were created on www.whak.ca/packer/JavaScript.htm where you can compress your own JS stuff. Many (most) of these JQuery files are half the size (or smaller) than any other samples, even half the size of the "min" versions on JQuery.com > > If google used these files, they would save terrabytes of data. > > There is an embedded sample there (HTM file), it gives best performance as no external files need to be called, less files to look for, etc. > Simply not using jQuery costs around 0 bytes.
[toc] | [prev] | [next] | [standalone]
| From | Erwin Moller <erwinmollerusenet@xs4all.nl> |
|---|---|
| Date | 2015-07-15 12:56 +0200 |
| Message-ID | <55a63c74$0$2950$e4fe514c@news2.news.xs4all.nl> |
| In reply to | #28403 |
On 7/14/2015 9:12 AM, Silvio wrote: > On 07/13/2015 07:13 PM, Dave Brown wrote: >> https://github.com/JavaScript-Packer/jquery-bzip-compressed is a >> collection of JQuery files that have been compressed to bzip2 and made >> client side extractable by adding an unpacker made in pure JavaScript. >> They were created on www.whak.ca/packer/JavaScript.htm where you can >> compress your own JS stuff. Many (most) of these JQuery files are half >> the size (or smaller) than any other samples, even half the size of >> the "min" versions on JQuery.com >> >> If google used these files, they would save terrabytes of data. >> >> There is an embedded sample there (HTM file), it gives best >> performance as no external files need to be called, less files to look >> for, etc. >> > > Simply not using jQuery costs around 0 bytes. Best remark possible. I tip my hat to Silvio! Regards, Erwin Moller -- "That which can be asserted without evidence, can be dismissed without evidence." -- Christopher Hitchens
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-14 00:46 -0700 |
| Message-ID | <4160c45c-4edb-4b39-891e-dbc01e8bc37c@googlegroups.com> |
| In reply to | #28384 |
LOL! https://github.com/JavaScript-Packer/jquery-bzip-compressed
[toc] | [prev] | [next] | [standalone]
| From | Dave Brown <0ntariokingston@gmail.com> |
|---|---|
| Date | 2015-07-14 00:48 -0700 |
| Message-ID | <f0593d05-6c89-44d9-9bd1-ec575e344db3@googlegroups.com> |
| In reply to | #28384 |
You won't find one of my pages using JQuery on www.ScriptCompress.com or other sites I own. I am a programmer, I use pure JavaScript.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.javascript
csiph-web