javascript - 为什么当我有 list ='cache-manifest' 时 chrome 请求/缓存

标签 javascript browser-cache

<html manifest="/cache.manifest" class="ui-mobile landscape min-width-320px min-width-480px min-width-768px min-width-1024px">

从 Chrome 控制台:

Application Cache Error event: Resource fetch failed (404) http://example.com/CACHE

来自 rails 日志:

ActionController::RoutingError (No route matches "/CACHE"):

我错过了什么吗?我想我应该将 cache.manifest 重命名为 CACHE 或什么?会不会是 jquerymobile 的问题?

最佳答案

我想通了。我错过了缓存 list 文件中的冒号

CACHE

新版本

CACHE:

关于javascript - 为什么当我有 list ='cache-manifest' 时 chrome 请求/缓存,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7481318/

相关文章:

javascript - 从父窗口中禁用子窗口中的javascript

javascript - HtmlService GAS 在html表单之间传递变量

javascript - 我有一个正在从商店接收数据的组件。如何更新收到的数据并在更改时重新呈现组件

php - 谷歌浏览器显示等待缓存

amazon-web-services - PathPattern for AWS Cloudfront CacheBehavior 中可接受的通配符

ruby-on-rails - 利用 Nginx 的浏览器缓存问题

javascript - 注销后处理浏览器的后退和下一步按钮 Python

javascript - 如何在 ASP.NET Response.BinaryWrite 生成的 Javascript 中处理字节数组图像

javascript - 如何在更改 iframe 源时多次触发 iframe 加载事件

json - 浏览器缓存: Json response