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

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