fix(web): register cache service worker only on production.
fix(web): register cache service worker only on production.

ljshj/actor-platform,ljshj/actor-platform,ljshj/actor-platform,ljshj/actor-platform,ljshj/actor-platform,ljshj/actor-platform,ljshj/actor-platform