News for hackers. Stuff that matters.
Re:Frameworkless JavaScript by antihero on Friday January 10, 2014 @06:59AM (#7036206)
Ok, but trade that off against the latency for sending cookies and whatnot, and I think the difference is likely trivial.

If we look at the headers for jQuery 2.0.3, we get Expires:Thu, 31 Dec 2037 23:55:55 GMT, which means that it will not expire.

You make a good point in the fact that mobile won't have so much room to cache, however, I'd imagine this will increase as devices get more space and whatnot - in Android 4.4 with the latest Chrome Beta, I tried a few sites I'm using CDN on and got 304 for pretty much all CDN'd stuff:

http://files.blackflags.co.uk/officenumbers.herokuapp.com.ha...

So what I'm saying really is I think that whilst you have good arguments, I think that things are continuing to get better and better :)

That said, once everyone's on LTE, perhaps we don't even have to care ;)

Re:Frameworkless JavaScript by acdha on Friday January 10, 2014 @10:09AM (#7036922)
> So what I'm saying really is I think that whilst you have good arguments, I think that things are continuing to get better and better :)

Yeah, I don't want to come across as a complete downer on this – the situation is easily better than it's ever been with CDNs becoming not just available but cheap, distributed DNS a turnkey service, etc. etc. Working on a global website for awhile has definitely reminded me that performance / reliability work hits diminishing returns unless you have have near-Google budget.

> That said, once everyone's on LTE, perhaps we don't even have to care ;)

Didn't we used to say that about 3G? ;)

https://docs.google.com/presentation/d/1IRHyU7_crIiCjl0Gvue0... does look appealing, though