wxcaptain's avatar

service worker - cache name looks different

I just started using laravel mix to generate a service worker file. I noticed that the query string on the application cache name is different than the query string on the resource.

As an example, here's a css file with a revision id: about.css?id=027cd1716bb5f6288ed0

In chrome dev tools, the application name looks like this: about.css?WB_REVISION=027cd1716bb5f6288ed032926f5da1de

I have some non pre-cached images that I can tell are getting loaded from the service worker, using the Chrome dev tools network tab, but I'm not seeing this with the about.css.

Do you think this about.css file is getting cached appropriately by the service worker?

Thanks.

0 likes
0 replies

Please or to participate in this conversation.