Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
作为一个现代数据库驱动的网站,我们的主页只是简单地/代替了/index.html. 但是当我尝试为我们的主页设置离线后备时,它(按照规范的预期)为网站上的每个资源设置了后备。除了改变回家的道路外,有没有办法防止这种情况发生?
/
/index.html
我有同样的问题”。经过 3 个小时的摆弄,我得出了我个人的结论,即应用程序缓存不能仅使用“/”以预测方式工作。