diveintomark / diveintohtml5

Dive Into HTML5 online book
https://diveintohtml5.info/
Other
777 stars 187 forks source link

changed manifest extension to "appcache" #49

Closed CoffeeAndCode closed 11 years ago

CoffeeAndCode commented 11 years ago

The file extension for manifest files should be changed to "appcache". I have changed all instances of .manifest to .appcache and added a paragraph describing the change to the Offline page. I'm not sure of the build process for the final site, so feel free to make whatever adjustments need to be made. If code examples are packaged as zips, those should be updated as well.

I tried looking for a standard on this, but only found the following resources supporting it:

and the following is indifferent:

jonathantneal commented 11 years ago

I'll let others weigh in on this.

http://www.html5rocks.com/en/tutorials/appcache/beginner/

https://github.com/h5bp/html5-boilerplate/blob/master/.htaccess

Is this the conflict?

http://stackoverflow.com/questions/6523034/html5-appcache-manifest-file-extension

http://html5.org/tools/web-apps-tracker?from=5811&to=5812

CoffeeAndCode commented 11 years ago

That seems to be a logical reason why everyone shifted to "appcache" instead of "manifest". It just seems the everyone else has updated their documentation to use the new extension and I thought it seemed confusing to have a different file extension mentioned on the Dive Into HTML5 site.

Here's another mention of using the "appcache" extension: http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html

jonathantneal commented 11 years ago

Thank you!

CoffeeAndCode commented 11 years ago

quite welcome, glad it was useful!