Return to Video

Appcache vs HTTP cache - Mobile Web Development

  • 0:00 - 0:03
    Now it's important to understand how the application
  • 0:03 - 0:06
    cache works together with the http cache. When we
  • 0:06 - 0:10
    say that the cache is downloaded or Appcache updates
  • 0:10 - 0:13
    the files of the cache, those downloads are still
  • 0:13 - 0:16
    following the rules of http caching. If those files
  • 0:16 - 0:19
    are already in the http cache, they may come
  • 0:19 - 0:22
    from that cache rather than over the network. You
  • 0:22 - 0:26
    can still use far-future caching, for example, on files
  • 0:26 - 0:28
    that you know won't change often, and when
  • 0:28 - 0:30
    the Appcache update system needs a new copy of
  • 0:30 - 0:32
    them, it'll pull them out of the http
  • 0:32 - 0:36
    cache, not grab them over the network. This gives
  • 0:36 - 0:41
    you a two-stage updating system, which can be pretty useful. However,
  • 0:41 - 0:46
    there is one file that you should never far-future cache. What is it? The
  • 0:46 - 0:51
    master HTML page? The manifest file? Or cat videos?
Cím:
Appcache vs HTTP cache - Mobile Web Development
Video Language:
English
Team:
Udacity
Projekt:
CS256 - Mobile Web Development
Duration:
0:53

English subtitles

Felülvizsgálatok Compare revisions