Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed HTML5 Mobile Web Applications!
You have completed HTML5 Mobile Web Applications!
Preview
In this video we create a Cache Manifest which will allow our application to be fully cached on a device so it can be used offline.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Now, what's really going to be great is if we can use this offline.
0:00
Right now, it is always requesting the latest code from the server,
0:04
but if we're not connected to the server, it would be nice if the application still worked.
0:08
After all, it doesn't need a server to store data,
0:12
so if I'm offline, why should the application not be available?
0:15
Let's see what would happen if I turn off Web Sharing,
0:19
which is right now what's controlling my Apache web server in development.
0:22
So we turn that off and I refresh,
0:26
we cannot connect to localhost because our web server is not running.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up