paint-brush
Service Worker: One fallback offline image for any aspect ratioby@sebastian.eberlein
1,335 reads
1,335 reads

Service Worker: One fallback offline image for any aspect ratio

by Sebastian Eberlein2mAugust 13th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Recently, we implemented a Service Worker for an image-heavy website. Since it’s not a good idea to precache every single image and also runtime caching has its limits, we needed a fallback image.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Service Worker: One fallback offline image for any aspect ratio
Sebastian Eberlein HackerNoon profile picture
Sebastian Eberlein

Sebastian Eberlein

@sebastian.eberlein

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Github
Github
Adactio
Workers
Project-awesome
Icopy
Awesomeopensource
Icopy
Opensourceagenda
Github
Joyk
Aryan
Gitplanet
Gitplanet
Wansal
Cnstackoverflow
Vs2010wy
Aiurs
Takamol
Innominds
Nn