Browse Source

appcache fixes

Nathaniel van Diepen 10 years ago
parent
commit
e9d8724887
2 changed files with 11 additions and 2 deletions
  1. 9 1
      .htaccess
  2. 2 1
      bugs.appcache

+ 9 - 1
.htaccess

@@ -20,6 +20,14 @@
     Deny from all
     Satisfy All
 </FilesMatch>
+<FilesMatch "\.(webapp|appcache)$">
+	FileETag None
+	<ifModule mod_headers.c>
+		Header unset ETag
+		Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
+		Header set Pragma "no-cache"
+		Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
+	</ifModule>
+</FilesMatch>
 AddType application/x-web-app-manifest+json .webapp
-AddType text/cache-manifest .manifest
 AddType text/cache-manifest .appcache

+ 2 - 1
bugs.appcache

@@ -15,4 +15,5 @@ js/shortcut.js
 js/jquery.min.js
 js/jquery-ui.min.js
 NETWORK:
-	*
+*
+# Build 2013-10-18