Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3672406
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:36:17+00:00 2026-05-19T02:36:17+00:00

from Dive into HTML5: Cache Manifest: Fallback section CACHE MANIFEST FALLBACK: / /offline.html NETWORK:

  • 0

from Dive into HTML5: Cache Manifest: Fallback section

CACHE MANIFEST
FALLBACK:
/ /offline.html
NETWORK:
*

i dont understand from the URL given what this block of code exactly does. does the fallback section mean when anything is not found, show the offline.html page

then network: * all resources will be cached? it says also

It uses common CSS, JavaScript, and
images on each page. Each of these
resources would need to be listed
explicitly in the CACHE

this seems to conflict to network: * where it seems to say cache everything?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T02:36:17+00:00Added an answer on May 19, 2026 at 2:36 am

    There are three types of headings in a cache manifest, CACHE, NETWORK and FALLBACK. Anything that is not under a heading is implicitly set under CACHE. An explanation of each section:

    CACHE: Files under this heading will be cached.

    NETWORK: Files under this heading require an internet connection and so will be NOT be cached.

    FALLBACK: Files matched by patterns under this heading (Such as the pattern “/”, which matches all files) and have not been cached, will have a fallback file shown instead.

    With regards to the block of code from Dive into HTML 5, there is an explanation of the “NETWORK: *” part just under it:

    It means that, while you’re browsing
    this hypothetical offline-enabled
    Wikipedia online, your browser will
    fetch images and videos and other
    embedded resources normally, even if
    they are on a different domain. (This
    is common in large websites, even if
    they aren’t part of an offline web
    application. HTML pages are generated
    and served locally, while images and
    videos are served from a CDN on
    another domain.) Without this wildcard
    flag, our hypothetical offline-enabled
    Wikipedia would behave strangely when
    you were online — specifically, it
    wouldn’t load any externally-hosted
    images or videos!

    The following quote:

    It uses common CSS, JavaScript, and
    images on each page. Each of these
    resources would need to be listed
    explicitly in the CACHE

    means that you must include all necessary CSS, Javascript and image files in the manifest under the CACHE heading. It does not conflict with ‘NETWORK: *’ because the NETWORK heading does NOT mean ‘cache everything’. It actually means the opposite: that everything under the NETWORK heading requires an internet connection and should not be cached.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

From Dive into Python: Class attributes are available both through direct reference to the
Following sample is taken from Dive into python book. class MP3FileInfo(FileInfo): store ID3v1.0 MP3
Before I dive into ASIHttpRequest's source code: From the documentation ( http://allseeing-i.com/ASIHTTPRequest/How-to-use ) of
I have previously read Spolsky's article on character-encoding, as well as this from dive
Trying to dive into Qt big time but haven't done a large project with
I'm getting ready to dive into my first Core Data adventure. While evaluating the
I have been attempting to dive into RSpec 2 but its auto generated controller
I'm very new to Python, sort of following Dive into Python 2 and wanted
This is my first real dive into JavaScript. Sure I've used it before, but
From a web developer point of view, what changes are expected in the development

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.