Better HN
topnewbestaskshowjobs
Log inSign up

davideast

23 karma · joined May 13, 2014 (12y ago) · 11 submissions

Submissions

1.

Delivering Messages at the Scale of the World Cup(firebase.blog ↗)

6 points · by davideast · 3y ago · discuss

2.

Sampling Bias, FDR, and the State of JavaScript(davidea.st ↗)

1 points · by davideast · 6y ago · discuss

comment 8y ago · link · parent

That is not true. The default access is only to authenticated users.

comment 8y ago · link · parent

No it does not. By default it locks down your empty database to only authenticated users.

comment 9y ago · link · parent

Yep, more wording was bad. In HTTP/2 it's all parallel.

comment 9y ago · link · parent

Sorry, wrote this before coffee. I was referring to H/2 eliminating head-of-line blocking. HTTP/2 gives you one TCP connection for multiple requests rather than the 7 connection limit browsers impose on HTTP 1.x

comment 9y ago · link · parent

HTTP/2 happened. HTTP/2 allows you to send HTTP requests over a single TCP connection per domain. Headers are compressed. The request overhead is minimal compared to HTTP/1.x.

Caching one big file has the draw back of busting the cache each time the file is updated for any small change.

Caching multiple small files allows you to have a finer grain cache. Only bust the things that updated. And, since it's all the same TCP connection it's now performant to load this way.

comment 9y ago · link · parent

I highly recommend using Workbox: https://workboxjs.org/.

One of the more gnarly parts of ServiceWorker is having to clean up old caches during a version change. The workbox-build module generates revision hashes for your pre-cached assets and handles any cache clean ups for you.

comment 10y ago · link · parent

Hello,

Firebase YouTuber, Slacker, AngularFire contributor, and Stackoverflower here. Feel free to ping me personally in the Slack channel (davideast) of via email (david@firebase.com) to talk more about all of these problems you've hit. We work hard to make sure people get their questions answered so I'd love to have a discussion with you.

10.

Progressive Web Apps: A Chrome Dev Summit Recap(medium.com ↗)

1 points · by davideast · 10y ago · discuss

comment 12y ago · link · parent

[Firebase Employee]

If you use the SDKs, we handle the connection and all of the data is sent over a reused full duplex socket rather than individual requests. https://www.firebase.com/docs/android/, https://www.firebase.com/docs/ios/, https://www.firebase.com/docs/web/