OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 |
| 3 <!-- |
| 4 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5 for details. All rights reserved. Use of this source code is governed by a |
| 6 BSD-style license that can be found in the LICENSE file. |
| 7 --> |
| 8 |
| 9 <html manifest="appcache.mf"> |
| 10 <head> |
| 11 <meta charset="utf-8"> |
| 12 <title>Appcache for Beginners</title> |
| 13 <link rel="stylesheet" href="appcache.css"> |
| 14 </head> |
| 15 <body> |
| 16 <div id="content"> |
| 17 <h1>This is my killer, cacheable application!</h1> |
| 18 <p> |
| 19 To see this example in action, make changes to <code>index.html</code> |
| 20 and then reload this page. You'll notice that your changes don't show up |
| 21 because we're showing the cached version instead. Next make a change |
| 22 such as incrementing the date or version number in |
| 23 <code>appcache.mf</code>. Now when you reload this page, you'll be |
| 24 prompted to load the new version. |
| 25 </p> |
| 26 </div> |
| 27 <script type="application/dart" src="appcache.dart"></script> |
| 28 <script src="packages/browser/dart.js"></script> |
| 29 </body> |
| 30 </html> |
OLD | NEW |