arcturus / gulp-sww

Gulp plugin that creates all the support needed in serviceworkers to make your web app run offline
29 stars 3 forks source link

Don't use appCache if already used. r=arcturus #11

Closed gmarty closed 8 years ago

gmarty commented 8 years ago

This patch looks for a manifest attribute on the <html> tag. If present, then appCache is not used. We could do a better job parsing the HTML entrypoint (currently that's done through a regexp), but I think that's good enough for now.

@arcturus: What do you think?

arcturus commented 8 years ago

Looking perfect, choice is always a good thing.

Merging and updating the npm registry