Skip to content
Browse files

Showing what happens without the NETWORK section

  • Loading branch information...
1 parent 403355c commit a1756bbd868f0e10401ae4fc2aa2f5cab3f31390 @jakearchibald committed Jan 27, 2012
Showing with 51 additions and 0 deletions.
  1. +26 −0 without-network/css/core.css
  2. +22 −0 without-network/index.html
  3. +3 −0 without-network/offline.appcache
View
26 without-network/css/core.css
@@ -0,0 +1,26 @@
+html {
+ font-family: sans-serif;
+}
+
+body {
+ margin: 8px 22px;
+}
+
+a {
+ text-decoration: none;
+ color: #28f;
+}
+
+.availableOffline::after {
+ content: '(available offline)';
+ color: #666;
+ vertical-align: top;
+ margin: 0 0 0 .5em;
+ font-size: .8em;
+}
+
+.offline-toggler {
+ position: absolute;
+ top: 1.7em;
+ right: 1.7em;
+}
View
22 without-network/index.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<html lang="en-gb" manifest="/without-network/offline.appcache">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+ <link rel="stylesheet" href="/without-network/css/core.css">
+ <title>Non-cached Resources</title>
+</head>
+<body>
+ <h1>Non-cached Resources</h1>
+ <p>
+ Here's a non-cached image from this domain:
+ </p>
+ <p>
+ Here's a non-cached image from another domain:
+ </p>
+ <p>
+ If they've loaded fine, that's probably because your
+ browser hasn't cached this page yet. Give it a refresh.
+ </p>
+</body>
+</html>
View
3 without-network/offline.appcache
@@ -0,0 +1,3 @@
+CACHE MANIFEST
+
+css/core.css

0 comments on commit a1756bb

Please sign in to comment.
Something went wrong with that request. Please try again.