O'Reilly logo

OpenLayers 3 : Beginner's Guide by Erik Hazzard, Paul Spencer, Thomas Gratier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – MANIFEST destiny

Let's take the MANIFEST file out for a spin with our mobile example. The first thing we need to do is decide which resources we want to be included in our application cache and which we want to be excluded. Our application is pretty simple, so we won't need to exclude anything. So, here's what we will do:

  1. Open a text editor and create a new file. Save it as myapp.appcache next to your example's HTML file.
  2. Determine which files to include in the cache. You can do this in several ways, but the easiest is to load your page into a web browser and look at the Network tab. Here's how your screen looks when the Network tab is pressed:

    The first six lines are files requested directly by our application, and the remainder ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required