This project is not maintained anymore. You can still view and search the archives.

wdrl.
  • Archive
  • Evergreen
  • About
  • Contribute

How much data should my Service Worker put upfront in the offline cache?

Hi, I’m Anselm Hannemann, a freelance Frontend Developer and Engineering Manager. You can hire me. I wrote WDRL for 10 years and have a a Market Garden as a side-business.

Profile photo of the author, Anselm Hannemann

This link appeared in WDRL 168 on 03.02.2017.

How much data should my Service Worker put upfront in the offline cache?

Nicolas Hoizey analyzes why it’s not a good idea to just hook up Service Workers and save all resources offline. Given the fact that a lot of users might never come back or that they simply won’t read through all the pages of a website, downloading megabytes of data on first load might be a very bad practice — especially when we keep data plan costs in mind. Looking at these numbers, the 3MB of an average web page are nearly negligible if a Service Worker loads 16MB of useless data on initial page load without further ado.

This link is marked as "Evergreen" and appeared in the 2017 Yearbook.

Profile photo of the author, Anselm Hannemann

Other projects

  • Hire me as Developer or Scrum Master
  • My food produce CSA

Sitemap

  • Privacy Policy
  • RSS
  • Donate
  • About
  • Testimonials

Legal

© 2026 and made by
Anselm Hannemann
Hofmark 14
82393 Iffeldorf
Germany
mail@wdrl.info