服务是内部服务,没有 CDN, 前端容器用 K8S 托管
现在发现一个问题:
前端滚动发布后,用户侧没关闭旧页面,还是指向之前的 js ,就会报错 Failed to loadmodule script: Expected JavaScriptmodule script but the server responded with a MIME type of "text/htmi".Strict MIME type checking is enforcedfor module scripts per HTML spec.
现在想的解决办法就是更新后通知用户刷新,还有什么其他的方案吗?
|