WebKit and offlineCache
来源:互联网 发布:淘宝商城儿童女装坎肩 编辑:程序博客网 时间:2024/05/18 10:46
Refer to http://www.w3.org/TR/html5/offline.html to see the spec for HTML5 offline application cache.
1. Write a normal html file with js files and css files
2. Change <html> to <html manifest="test.manifest">
3. write a file named "test.manifest" as following:
CACHE MANIFEST
# v0.1
test.html
# Standard Script Libraries
clock.js
# App Scripts
# Content (CSS & images)
clock.css
#Content/logo.png
NETWORK:
http://pic.66wz.com/0/00/16/39/163980_140476.jpg
4. Enable offlineApplicationCache in WebKit
5. In logic, setting offlineApplicationCache on in preferences.
6. Add "text/cache.manifest" to web server configuration
In implementation, these cache files will be stored in %APP%/Local/Apple Computer/WebKit/ApplicationCache.db
- WebKit and offlineCache
- Webkit create frame and loadurl
- Adobe AIR, Webkit and XML
- Webkit RefPtr and PassRefPtr Basic
- fedora and ubuntu compile webkit
- On WebKit, Layers and Accelerated Compositing
- How Rendering Work (in WebKit and Blink)
- How Rendering Work (in WebKit and Blink)
- webkit
- webkit
- webkit
- webkit
- webkit
- webkit
- webkit
- WebKit
- webkit
- webkit
- c# 连接远程oracle 数据库 字符串
- android kernel 初始化 2
- Map中STL
- Linux下jdk的安装
- 关于WINSOCK.H与winsock2.h中的重定义解决办法分析
- WebKit and offlineCache
- C++ override和overload的区别
- 企业信息化管理优化的几个方面
- 认识linux服务(关闭你不需要的服务)
- CopyU! v2任务处理泵完成
- JPA中entity的一些功能
- servlet 生命周期
- iframe不完全显示的解决方法
- Qt:支持鼠标拖动来移动内容的窗口