dmuth/diceware

Include external resources for air-gapped operation

Closed this issue · 2 comments

Required libraries like jQuery and bootstrap should be included as part of the package so it can be run fully air-gapped (no network connection required)

dmuth commented

So I thought about when I first built this, but one reason I opted for the external dependencies was for performance. By using a widely shared library, there's a decent chance that a cached copy would already exist in the user's browser cache, causing the app to load that much faster.

I'm not entirely against this idea (because, hey, air-gaps offer great security), but if I implement it I think I'd want to make it as an optional feature, or perhaps a separate page which includes local copies of the resources.

I'll put this issue on my "revisit as time permits over my Christmas vacation" list. :-)

Thanks for the feedback,

-- Doug

dmuth commented

Okay, this has been added! What made the additional possible/desirable was moving the entire project off of my webserver and into AWS S3, with front-end serving done through CloudFront.

Enjoy!