It currently breaks in Firefox private mode because I use the Cache APIs to try and prevent downloading the same file more than once, but Firefox disables the Cache APIs in private mode in a way I can't easily detect up-front. I'd love suggestions for a workaround or fix.
https://developer.mozilla.org/en-US/docs/Web/API/Cache