JavaScript Service worker and cesiumjs

Hi Matthew/Hannah,

Can service-worker make cesiumjs load and perform faster ?

Do you have implemented yet.

How can i do that, anyone having idea ?



I’m not sure if using service workers would help performance. From my understanding, they’re more for client-server communication and Cesium is all client side.

We do use web workers for things like rendering geometry so that doesn’t slow down the globe.


Hi Matthew/Hannah

Do you think if we can reduce the cesiumjs http call to zero (using service worker) and loading of the cesiumjs it pick up from browser memory instead of parsing every time.

Will it help ? I have not tried it yet but i want to.