Inlining or Caching? Both Please!

filamentgroup.com

How clever is this from the Filament Group! Such a clever pattern to cache inlined resources (eg. critical CSS) that could be retrieved later by a service worker.

I wonder if the new Service Worker and Caching APIs could enable caching for inline code.

As it turns out, they can!

— Scott Jehl
Back to links