From 3b7414f89ad47009e96175edf60c886f2f5514eb Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Mon, 31 Jan 2011 16:55:29 -0800 Subject: [PATCH] Use the .appcache extension instead of .manifest, as per http://html5.org/r/5812 - thx mathias --- mime.types | 2 +- nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mime.types b/mime.types index 56b2a9d..9c95577 100644 --- a/mime.types +++ b/mime.types @@ -9,7 +9,7 @@ types { application/x-javascript js; application/atom+xml atom; - text/cache-manifest manifest; + text/cache-manifest manifest appcache; text/mathml mml; text/plain txt; text/vnd.sun.j2me.app-descriptor jad; diff --git a/nginx.conf b/nginx.conf index 897bdc8..6343116 100644 --- a/nginx.conf +++ b/nginx.conf @@ -90,7 +90,7 @@ http { expires 1M; # Static assets - location ~* ^.+\.(manifest)$ { + location ~* ^.+\.(manifest|appcache)$ { expires -1; root /sites/example.com/public; access_log logs/static.log;