HTML5 Cache Manifest and Content types

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?


It's likely that if you don't have the content type set correctly the browsers will refuse to treat it as a manifest file, similar to the well known Firefox problem where stylesheets get ignored if served with a plain text MIME type.

The content types of your Apache server are possibly not in httpd.conf, they are usually stored in another configuration file mime.types (by default, though it can be changed).

Need Your Help

how to select next item of wxlistbox in wxpython?

python wxpython

I am making a music player in python/wxpython. I have a listbox with all the songs, and the music player plays the selected song. I am now trying to make a "next button" to select the next item in ...

how to compare two mysql databases on a mac?

mysql database

hi i am using snow leopard and was wondering how i can compare two mysql databases?