i am reading Dive into HTML5: Offline web apps: Cache manifest
... but it must be served with the content type text/cache-manifest. If you are running an Apache-based web server, you can probably just put an AddType directive in the .htaccess file at the root of your web directory
AddType text/cache-manifest .manifest
if i dont add this what will happen? is the content type so important? i did a search for AddType
in httpd.conf
. but i dont see content-type
for say html
, js
, images
etc. it dont seem all that important after all?