[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Security concerns with minified javascript code



On Sep 01 2015, Vincent Bernat <bernat@debian.org> wrote:
>  ❦  1 septembre 2015 08:21 -0700, Nikolaus Rath <Nikolaus@rath.org> :
>
>>>> Couldn't we just use the non-minified versions in most situations? A
>>>
>>> Not for anything which has actual users over the network.
>>
>> Why? (Don't forget about gzip encoding).
>
> See:
>  https://mathiasbynens.be/demo/jquery-size

I don't think 28 kB vs 73 kB is a difference that people will notice
over the network in *most* situations. Even at just 100 kB/s that's
0.28 vs 0.73 seconds, and only when the page is first loaded.


Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

Attachment: signature.asc
Description: PGP signature


Reply to: