HTML and CSS Reference
The purpose of the FALLBACK section is to specify alternative versions of a file that
should be used while offline. For instance, we may have an image called online.png that
is displayed at the top of the screen when we are online, but we want to display an image
called offline.png when we are offline. In order to implement this, we would first add off-
line.png to the list of cached files in the CACHE MANIFEST section; we would then add
the following to the FALLBACK section:
We will also find an alternative use of this section below.
The final section is the network section. This is a particularly important section, because it
specifies the network addresses the browser may access. If we were to enter the following:
Then the browser would only be able to access resources from the server in question, it
would not be able to access any other servers, for instance, Google Analytics, or files
served from CDNs.
The most common setting for this section is as follows:
This ensures the web application has unrestricted access to the Network.
The next version of the file will look like this:
scripts/ jquery -2.0.3. js
scripts/ jquery -serialization.js
scripts/ jquery -tmpl.js