telescope icon indicating copy to clipboard operation
telescope copied to clipboard

Image cache issue in service worker with hero banner

Open humphd opened this issue 2 years ago • 2 comments

We recently added a feature to download a tiny image in the landing page, stretch and blur it, then replace it with a full-sized image once it fully loads. It works great...most of the time.

About 1 in 10 times I load it, it gets stuck on loading the full-sized image, seemingly in our Service Worker cache:

Screen Shot 2022-03-21 at 10 24 04 AM

We might need to tweak something with our image caching in the service worker?

cc @DukeManh.

humphd avatar Mar 21 '22 14:03 humphd

This is interesting, I think it also happens on production once in a while too. I haven't been able to reproduce this.

DukeManh avatar Mar 22 '22 19:03 DukeManh

I've seen a few random bugs related to what looks like our service worker. Hard to replicate.

humphd avatar Mar 22 '22 21:03 humphd