Created
November 30, 2012 20:04
-
-
Save mirzu/4178202 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/index.html b/index.html | |
index edc38c9..6e37719 100644 | |
--- a/index.html | |
+++ b/index.html | |
@@ -1,5 +1,5 @@ | |
<!DOCTYPE html> | |
-<html> | |
+<html manifest="offline.manifest.php"> | |
<head> | |
<title>Harvard proposal</title> | |
<link rel="stylesheet" href="/assets/css/main.css"> | |
diff --git a/offline.manifest.php b/offline.manifest.php | |
new file mode 100644 | |
index 0000000..dfe26da | |
--- /dev/null | |
+++ b/offline.manifest.php | |
@@ -0,0 +1,9 @@ | |
+<?php | |
+header("Content-Type: text/cache-manifest"); | |
+?> | |
+CACHE MANIFEST | |
+<?php echo('#'. date(DATE_RSS)); ?> | |
+js/require.js | |
+/ | |
+NETWORK: | |
+* | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment