Use the .appcache extension instead of .manifest, as per http://html5.org/r/5812 - thx mathias

This commit is contained in:
Paul Irish 2011-01-31 16:55:29 -08:00
parent 289233a8c0
commit 3b7414f89a
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ types {
application/x-javascript js; application/x-javascript js;
application/atom+xml atom; application/atom+xml atom;
text/cache-manifest manifest; text/cache-manifest manifest appcache;
text/mathml mml; text/mathml mml;
text/plain txt; text/plain txt;
text/vnd.sun.j2me.app-descriptor jad; text/vnd.sun.j2me.app-descriptor jad;

View File

@ -90,7 +90,7 @@ http {
expires 1M; expires 1M;
# Static assets # Static assets
location ~* ^.+\.(manifest)$ { location ~* ^.+\.(manifest|appcache)$ {
expires -1; expires -1;
root /sites/example.com/public; root /sites/example.com/public;
access_log logs/static.log; access_log logs/static.log;