News for hackers. Stuff that matters.
Re:No need to wait for ServiceWorker – speed up your site today by jaffathecake on Thursday December 11, 2014 @02:12PM (#8736522)
I've made a longer comment on G+, but in short: if you max-age your page for a decent length of time, you lock users into that version of the page. Shipping any kind of update means waiting for that max-age to expire.
Re:No need to wait for ServiceWorker – speed up your site today by igrigorik on Thursday December 11, 2014 @02:33PM (#8736622)
And I replied on G+, but also in short: do a background version ping, force a revalidation if version has changed. Gnarly, yes, but works. :-)
Re:No need to wait for ServiceWorker – speed up your site today by Partyfists on Thursday December 11, 2014 @03:04PM (#8736776)
Also, you can append a last modified query parameter to automagically clear the cache for static assets.