首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏IMWeb前端团队

    Common Pitfalls to Avoid when using HTML5 Application Cache

    Enter the following in your .htaccess file in Apache: AddType text/cache-manifest .manifest If you are app.yaml file: - url: /public_html/(.*\.appcache) static_files: public_html/\1 mime_type: text/cache-manifest

    75270发布于 2018-01-08
  • 来自专栏云计算教程系列

    优化SEO?提升你的PageSpeed评分吧!

    xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest

    2K80发布于 2018-07-24
  • 来自专栏IMWeb前端团队

    Common Pitfalls to Avoid when using HTML5 Application Cache

    Enter the following in your .htaccess file in Apache: AddType text/cache-manifest .manifest If you are app.yaml file: - url: /public_html/(.*\.appcache) static_files: public_html/\1 mime_type: text/cache-manifest

    68380发布于 2017-12-29
  • 来自专栏娜姐聊前端

    HTML5简明教程(五)离线应用

    配置Web服务器 Web服务器必须以正确的MIME类型提供描述文件,即,response的content-type属性值必须是text/cache-manifest

    92910发布于 2021-01-14
  • 来自专栏葡萄城控件技术团队

    如何在ASP.NET中生成HTML5离线Web应用

    (2) 在ASP.NET应用程序中把清单信息通知给浏览器 HTML5规范规定这个清单文件必须以text/cache-manifest格式发送到客户端,但是现在没有标准的后缀来识别这一类型文件。 IHttpHandler { public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/cache-manifest

    1.6K60发布于 2018-01-10
  • 来自专栏IMWeb前端团队

    Common Pitfalls to Avoid when using HTML5 Application Cache

    Enter the following in your .htaccess file in Apache: AddType text/cache-manifest .manifest If you are app.yaml file: - url: /public_html/(.*\.appcache) static_files: public_html/\1 mime_type: text/cache-manifest

    40610发布于 2019-12-03
  • 来自专栏IMWeb前端团队

    Common Pitfalls to Avoid when using HTML5 Application Cache

    Enter the following in your .htaccess file in Apache: AddType text/cache-manifest .manifest If you are app.yaml file: - url: /public_html/(.*\.appcache) static_files: public_html/\1 mime_type: text/cache-manifest

    41520发布于 2019-12-03
  • 来自专栏.NET开发那点事

    HTML5使用ApplicationCache

    <mimeMap fileExtension=".appcache" mimeType="text/<em>cache-manifest</em>" />   NETWORK 上面说了,这个节点指定不缓存的资源。

    1.2K60发布于 2018-01-04
  • 来自专栏ThoughtWorks

    10Hours 网页应用

    修改服务器端的mime-type 为了让服务器端可以正确的处理manifest文件,需要在mine-type中加入text/cache-manifest。 比如在Apache服务器中,可以添加以下行到配置文件中: AddType text/cache-manifest .appcache 更新缓存 完成manifest文件的配置以后,你会发现你的页面加载速度暴增

    81590发布于 2018-04-18
  • 来自专栏柠檬先生

    html5 离线存储 地理信息与本地存储

    搭建离线应用程序   ①服务器设置头信息 :     AddType text/cache-manifest .manifest   ② html标签加 :     manifest=“

    2.6K90发布于 2018-01-22
  • 来自专栏踏浪的文章

    HTML5多线程与离线存储

    ---- 新建一个 .appcache 文件,html文件的html标签中引入这个文件 在apache的httpd.conf文件下添加 AddType text/cache-manifest .appcache

    2.6K40发布于 2019-07-31
  • HTML5 应用程序缓存

    请注意,manifest 文件需要配置正确的 MIME-type,即 "text/cache-manifest"。必须在 web 服务器上进行配置。

    16810编辑于 2025-12-16
  • 来自专栏前端自习课

    【HTML5】296- 重新复习 HTML5 的 5大存储方式

    main.js NETWORK: login.jsp FALLBACK: /html/ /offline.html 服务器上: manifest 文件需要配置正确的 MIME-type ,即 “ text/cache-manifest 如 Tomcat: <mime-mapping> <extension>manifest</extension> <mime-type>text/cache-manifest</mime-type

    1.1K30发布于 2019-07-25
  • 来自专栏IMWeb前端团队

    HTML5离线存储——manifest简介

    </body> </html> 请注意,manifest 文件需要配置正确的 MIME-type,即 "text/cache-manifest"。必须在 web 服务器上进行配置。

    2.9K20发布于 2019-12-04
  • 来自专栏全栈程序员必看

    关于离线缓存Application Cache /使用 manifest文件缓存

    需要注意的是,manifest文件的MIME类型必须是text/cache-manifest 需要在HTML文档中引入manifest文件,可以使用类似如下代码: <! 如果所有资源文件都被成功下载,浏览器将会把这些资源文件以及引用manifest文件的HTML文档移动到永久离线缓存中 满满的都是坑 一些小坑 需要注意的是manifest文件放在服务器上,MIME类型必须是text/cache-manifest

    3K20编辑于 2022-07-27
  • 来自专栏Web 开发

    Html5之离线Web应用程序

    清单支持 <html manifest="manifest.appcache"> 3、添加MIME类型,让服务器支持.appcache的文件类型 # /etc/nginx/mime.types text/cache-manifest

    87400发布于 2018-08-08
  • 来自专栏IMWeb前端团队

    HTML5离线存储——manifest简介

    </body> </html> 请注意,manifest 文件需要配置正确的 MIME-type,即 "text/cache-manifest"。必须在 web 服务器上进行配置。

    4.5K50发布于 2017-12-29
  • 来自专栏熊二哥

    移动前端技术快速入门

    配置文件中添加manifest文件类型 <mime-mapping> <extension>manifest</extension> <mime-type>test/cache-manifest

    92890发布于 2018-01-24
  • 来自专栏前端flutter

    HTML5 - 应用程序缓存(Application Cache)

    Application Cache Error event: Manifest fetch failed (404) 解决方法: manifest 文件需要配置正确的 MIME-type,即 “text/cache-manifest manifest 的 contentType = text/cache-manifest,扩展名建议为 .appcache 且必须在 web 服务器上进行配置,不同的服务器配置方法不一样。

    2.1K10编辑于 2022-12-19
  • 来自专栏产品优化

    nginx gzip 压缩

    image/webp webp; image/x-icon cur ico; text/cache-manifest

    1.7K20编辑于 2022-12-01
领券