W3C home > Mailing lists > Public > public-bpwg@w3.org > February 2008

RE: Suggested BP for BP 2 : Minimize the size of script files

From: Jo Rabin <jrabin@mtld.mobi>
Date: Tue, 26 Feb 2008 15:00:57 -0000
Message-ID: <C8FFD98530207F40BD8D2CAD608B50B4C4A9FE@mtldsvr01.DotMobi.local>
To: José Manuel Cantera Fonseca <jmcf@tid.es>, "Sean Owen" <srowen@google.com>
Cc: <public-bpwg@w3.org>

We did consider most of this in the context of MINIMIZE however it was felt that this was not practiced in reality and hence was not best practice. Time has moved on, so if there are some readily available tools to do this, that would be great.

Jo



> -----Original Message-----
> From: public-bpwg-request@w3.org [mailto:public-bpwg-request@w3.org] On
> Behalf Of José Manuel Cantera Fonseca
> Sent: 26 February 2008 14:53
> To: Sean Owen
> Cc: public-bpwg@w3.org
> Subject: Suggested BP for BP 2 : Minimize the size of script files
> 
> 
> Yes, it could be something like:
> 
> BP: Minimize the size of script files
> 
> How to do it
> 
> + Removing whitespace and comments (it could be done at deployment time)
> + Making variable names in the code shorter (it could be done at
> deployment time, although it could be tricky or dangerous)
> + Sending script files with gzip content-coding (if the browser support
> it)
> 
> Sean Owen escribió:
> > Good one.
> >
> > I'd also suggest some kind of best practice on running a JavaScript
> > obfusticator/minimizer/shrinker.
> >
> > On Tue, Feb 26, 2008 at 9:21 AM, José Manuel Cantera Fonseca
> > <jmcf@tid.es> wrote:
> >
> >>  Keep the number of external script files to a minimum
> >>
> >>  How to do it
> >>
> >>  Combine several script files into one at deployment time
> >>
> >>
> >>
> 
> 
Received on Tuesday, 26 February 2008 15:01:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:42:57 UTC