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

On Tue, 26 Feb 2008 16:00:57 +0100, Jo Rabin <jrabin@mtld.mobi> wrote:

> 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.

Yes, I think it is much more common and familiar to csript programmers  
than the equivalent is for people who barely use script, and therefore  
that it makes more sense in a context where we do expect people to do so.

cheers

Chaals

> 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
>> >>
>> >>
>> >>
>>
>>
>
>



-- 
Charles McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg lærer norsk
http://my.opera.com/chaals   Try Opera 9.5: http://snapshot.opera.com

Received on Tuesday, 26 February 2008 19:18:19 UTC