Martinez, Andrew wrote:
> How aboutnot reviving week old posts.
>
> Just let them go Jeremy, just let them go.
sorry, just been a bit behind reading this mailing list and playing
catch-up, that's all ;)
-Jeremy
signature.asc
Description: OpenPGP digital signature
__
: RE: [Rails-spinoffs] JavaScript Compression
Jeremy on fire! :))
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
___
Rails-spinoffs
Jeremy on fire! :))
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
On Monday 26 June 2006 07:40, Sam wrote:
> Can JavaScript files be gzip'ed in advance, stored on a server and
> delivered reliably to all browsers? Any browser exceptions?
apache's mod_gzip allows this functionality.
-Jeremy
--
Jeremy Kitchen ++ [EMAIL PROTECTED]
http://www.pirate-party.us/ -
Title: Message
Yes,
_javascript_ files can be gzip'd in advance, stored on a server and delivered to
browsers.
However, IE still has a bug (it's not to do with gzipping the content,
it's to do with delivering the content where the data transfer terminates
abruptly).
Here
you go with the
Yes definitely. Don't know if prototype is going to be part of the ajax alliance thing but people are starting to do "hosting" of js packages as well, thus enabling more opportunities/likelyhood that the js being served has already been cached.
It's probably poor manners to being percieved as prom
IMHO, the important thing about serving _javascript_ is getting the caching right (that is do content expiration in a away that the browser won't ask the server if the _javascript_ was updated for a certain period of time). For repeated page views on a site or web app, that's the most important per
Title: Message
Can _javascript_ files be gzip'ed in advance, stored on a server and
delivered reliably to all browsers? Any browser
exceptions?
Sam
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.o
I
don't say that dojo compression is not good, but try debugging in compressed
mode on production where your code is deployed, it's just
impossible.
Then
go through the pain of maintaining a development version of the file and a
production version of the file!
It's
really not worth com
I would disagree with point #2 below. It has been researched(and theoretically proven? don't remember the details anymore..google search would probably turn it up) already that gzip ~may~ not always be as fast for deployment as people seem to think.
As for tool reliability, not sure I understand th
I'd
like to add 2 things here -
(1)
Dojo also provides an online tool for the same (for those of you who don't want
to go through the hassle of setting up anything :)
It's
called SHRINKSAFE: http://alex.dojotoolkit.org/shrinksafe/
(2) As
far as gzip is concerned, that's what I would adv
I use mod_deflate in my apache httpd to compress the js files. Nearly every modern browser supports contenttype gzip and you get a reduction from about 60 to 80% of the source files. One of the benefits is that you can compress any content (html, css, js ...)... Formerly i also tried js source comp
On 6/25/06, Sam <[EMAIL PROTECTED]> wrote:
> It is Java-based, so should run on windows without a problem. It isn't a
> polished GUI at the moment, you'll need to do a bit of scripting to get it
before compression it is a good idea to make sure your code passes the test at
http://www.jslint.co
> It is Java-based, so should run on windows without a problem. It isn't a
> polished GUI at the moment, you'll need to do a bit of scripting to get it
> set up. More details here:
> http://dojotoolkit.org/docs/compressor_system.html
Here's a batch file I used to compress all my JavaScripts...
Am Sonntag, 25. Juni 2006 16:19 schrieb Sam:
> Is there a good windows-based JavaScript compressor which will reliably
> compress script aculo and prototype?
>
> Sam
I've used jsmin with no problems. Haven't tried it on Windows though.
http://javascript.crockford.com/jsmin.html
--
Dirk Eschler
http://dojotoolkit.org/docs/compressor_system.html
Sounds promising. I'll see if I can survive the setup ! ;-)
Sam
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Hi Sam,
I used the compressor that ships with Dojo on a biggish codebase that uses
prototype and scriptaculous, and it worked. Knocked 500K of code down to 340K
if I remember right, but your mileage may vary.
It is Java-based, so should run on windows without a problem. It isn't a
polished GUI
17 matches
Mail list logo