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

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

From: José Manuel Cantera Fonseca <jmcf@tid.es>
Date: Tue, 26 Feb 2008 15:52:48 +0100
To: Sean Owen <srowen@google.com>
Cc: "public-bpwg@w3.org" <public-bpwg@w3.org>
Message-id: <47C427C0.1060805@tid.es>

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 14:51:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:51 UTC