HTML and CSS Reference
In-Depth Information
PRACTICAL CACHING
TECHNIQUES
So far, you've seen how to package up a group of pages
and resources as an offline application. Along the way,
you learned to write a manifest file, update it, and make
sure browsers don't ignore your hard work. This know-
ledge is enough to put simple applications offline.
However, more complex websites sometimes need more.
For example, you might want to keep some content on-
line, substitute different pages when offline, or determ-
ine (in code) whether the computer has a live Internet
connection. In the following sections, you'll learn how
to accomplish all these tasks with smarter manifest files
and a dash of JavaScript.
Search WWH ::




Custom Search