Chapter 10. Releasing an App into the Wild
"The Internet is a wild land with its own games, languages, and gestures through which we are starting to share common feelings."
– Ai Weiwei
In this chapter we will learn how to prepare a web application for release. First we will discuss how to compress and combine JavaScript files for faster download times. Then we will look at how to use the HTML5 Application Cache interface to make your applications available offline.
In this chapter we will learn:
- How to combine and compress JavaScript files
- How to create a command-line script to prepare an application for release
- How to use the HTML5 Application Cache API to make a page and its resources available offline
- How to create a cache manifest file to determine what resources get cached
- How to determine when an application's cache has been updated