ã¡ãã£ã¨æãéãããã¦ããã®ã§ã¡ã¢ã£ã¦ããã¾ãã
HTML5ã«ã¯ãªãã©ã¤ã³ã§ãåç §ã§ããapplication cacheã¨ããæ©æ§ãããã¾ãã
- HTML5 Rocks - A Beginner's Guide to Using the Application Cache
- 6.6 Offline Web applications â HTML Standard
ããã¼ã«ã«ãã£ãã·ã¥ãªãã§éããï¼ãµã¼ãã¼ã®è² è·ãæ¸ããï¼ï¼ãã¨æã£ã¦ã¡ãã£ã¨è©¦ãã¦ã¿ããã§ããããããåçãªãã¼ã¸ãåºæ¬ã®Webãµã¼ãã¹ã«ã¯å½¹ã«ç«ã¡ã¾ããã
application cacheã¯ãHTMLã«
<!DOCTYPE html> <html manifest="/cache.manifest"> <head> ...
ã¨ãã風ã«ãã£ãã·ã¥ã®æ示ãã¡ã¤ã« cache.manifest ãæå®ãã¦ãããã§ãã£ãã·ã¥ããã¨ãããªãã¨ããè¨è¿°ããã®ã§ããã大ããªæ³¨æç¹ãã²ã¨ã¤ãã£ã¦ãããè¨è¿°ãã¦ããURLã®ãªã½ã¼ã¹ãã®ãã®ããã£ãã·ã¥ããããã¤ãcache.manifestã®NETWORKã»ã¯ã·ã§ã³ã«æã«ãã£ãã·ã¥ããªãããã«æ示ããã¨ãã¦ãå¿ ããã£ãã·ã¥ããããã¨ãä»æ§ã§å®ãããã¦ãããã¨ããç¹ã§ãã
ãã㯠6.6.3.3 Parsing cache manifests ã®æ«å°¾ã«æ¸ããã¦ãã¾ãã
The resource that declares the manifest (with the manifest attribute) will always get taken from the cache, whether it is listed in the cache or not, even if it is listed in an online whitelist namespace.
HTML Standard
ã¤ã¾ããã¦ã¼ã¶ã¼ã®ããããã¼ã¸ã¨ãåçãªãã¼ã¸ã«ããã¦ãã¢ã¤ã³ã³ãCSSçããã£ãã·ã¥ãããã¨application cacheã使ãã¨ããã®åçãªãã¼ã¸èªèº«ããã£ãã·ã¥ããã¦ãã¾ã(ãããåé¿ã§ããªã)ããåçã«æ å ±ã表示ãããã¨ããå½è©²ãã¼ã¸ã®æ大ã®è¦ä»¶ãéããããªããã¨ãããã¨ã«ãªãã¾ãã
ãªã®ã§application cacheã¯ãå ±éç»åã¨ããããããããã£ãã ãã¡ããâ ãçãªã«ã¸ã¥ã¢ã«ãªç¨éã®ãã®ã§ã¯ãªããã¨ãããã¨ã«ãªãã¾ãã
ã¨ã¯ããã
- URL(ãã¼ã¸)ã¯é·ç§»ããã³ã³ããã«å¾¹ããjsã§ããããã«ä¸èº«ãæ¸ãæãã¦å 容ãå¤åããã
ã¨ããç¨éã«ã¯æçã¨æãã¾ãã®ã§ãã¿ãªããã¯ã¼ãã¿ããã«ç¨éãééãã¦ï¾ï½·ï½°ã¨ãªã£ããããªãã§ãã ãããã¨ããã話ã§ããã