服务是内部服务,没有 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.

现在想的解决办法就是更新后通知用户刷新,还有什么其他的方案吗?

举报· 210 次点击
登录 注册 站外分享
1 条回复  
julyclyde 小成 5 天前
别用容器 你需要的是一个累积的存储装置,而不是可替换的存储装置
返回顶部