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

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

From: José Manuel Cantera Fonseca <jmcf@tid.es>
Date: Tue, 26 Feb 2008 16:07:26 +0100
To: Jo Rabin <jrabin@mtld.mobi>
Cc: Sean Owen <srowen@google.com>, "public-bpwg@w3.org" <public-bpwg@w3.org>
Message-id: <47C42B2E.20000@tid.es>

Yahoo UI compressor is an example

http://developer.yahoo.com/yui/compressor/

Jo Rabin escribió:
> 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:05:44 UTC

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