mozilla / seasponge

:pineapple: SeaSponge is an accessible threat modelling tool from Mozilla
http://mozilla.github.io/seasponge/
Mozilla Public License 2.0
278 stars 64 forks source link

Modify HTML5 manifest file to allow offline usage #26

Open Glavin001 opened 10 years ago

Glavin001 commented 10 years ago

See https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache

Given that we have no server and are using LocalStorage and File API ( #13 ) for loading and saving files, there are no requirements to be online. As long as we specify an HTML5 Manifest file, our web application will work seamlessly even without an Internet connection!

MatKallada commented 10 years ago

Our application is designed to make zero external network communication and is inherently online; what exactly is the idea of this feature request?

Glavin001 commented 10 years ago

Our application is designed to make zero external network communication

Exactly!

is inherently online

Not necessarily. If we include a proper HTML5 manifest then our web application will run in web browsers offline, as all of the required resources (as specified by the manifest) are cached by the browser and used when the browser is used offline.

MatKallada commented 10 years ago

@Glavin001 Thanks, for clarifying; I've updated the feature request slightly to make it more clear.

@kallada: Our application is designed to make zero external network communication

On a side note, as mentioned in #2, we actually are making external network requests to Google Analytics - though, this shouldn't be a worry.

Glavin001 commented 10 years ago

No problem :). Thanks.

Good point with the Google Analytics. Also Cloud Storage support (#19), if we do end up implementing that feature.