【问题标题】:Why is chrome requesting /CACHE when i have manifest='cache-manifest'为什么当我有 manifest='cache-manifest' 时 chrome 请求 /CACHE
【发布时间】:2011-09-20 07:04:08
【问题描述】:
<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 的问题?

【问题讨论】:

  • 好吧我的小姐,我的缓存文件无效

标签: javascript browser-cache


【解决方案1】:

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

CACHE

新版本

CACHE:

【讨论】:

    猜你喜欢
    • 2018-09-28
    • 2013-08-12
    • 1970-01-01
    • 2010-11-09
    • 2017-07-27
    • 2020-11-29
    • 2020-09-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多