It looks like
dynamic-import are incompatible.
My guess is (I’ll look into it further if I get a chance), the dynamic import feature stores everything in indexedDB, and the app cache manifest forces the browser to put dynamic modules into the browser app cache (which makes me think these modules are getting downloaded twice). And then when offline, dynamic imports can’t load from app cache.
Anyone know if there is a way to get these to work together?
I’m using appcache instead of web workers because even though it’s deprecated, every browser I need to support is supported - whereas less than half the browsers I need to support have web workers (no Edge/IE or Safari).
I’ve disabled dynamic imports on the part of the app I want cached for a workaround - but I’m still concerned about a possible double download penalty.