Earlier quoted context omitted.
CDN wouldn't help much. These days browsers partition caches by origin, so if two different tools (running on different domains) fetch the same model from the CDN, the browser would download it twice.
Did not know that. That sounds extraordinary wasteful, there must be a file hash based method that would allow sharing such files between domains.
Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
21–30 of 65 posts
Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
#22Earlier quoted context omitted.
Did not know that. That sounds extraordinary wasteful, there must be a file hash based method that would allow sharing such files between domains.
it's a security feature. otherwise my malicious site could check for cdn.sensitivephotoswebsite.com and blackmail you if it was cached already
Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
#23so multiple of these browser wasm demos make me re-download the models, can someone make a cdn for it or some sort u uberfast downloader? just throw some claude credits against it ty!
Okay, I did so. I realize that in your later followup comment you might want something different (like for Chrome itself to cache these downloads or something) but for now I made what you asked for, here you go:
https://stateofutopia.com/experiments/ephemeralcdn/
It's an ultrafast temporary CDN for one-off experiments like this. Should be lightning fast. By including the script, you can include any file this CDN serves.
Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
#24Earlier quoted context omitted.
CDN wouldn't help much. These days browsers partition caches by origin, so if two different tools (running on different domains) fetch the same model from the CDN, the browser would download it twice.
Did not know that. That sounds extraordinary wasteful, there must be a file hash based method that would allow sharing such files between domains.
Just like you wouldn't use same table in your system for all users in a multi tenant application.
Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
#25Earlier quoted context omitted.
Did not know that. That sounds extraordinary wasteful, there must be a file hash based method that would allow sharing such files between domains.
It offers security. Just like you wouldn't use same table in your system for all users in a multi tenant application.
Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
#26Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
#27Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
#28Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
#29Re: Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)
#30I've had excellent luck using Claude Code to generate "mermaid diagrams" for me, and convert them to .png format headlessly using mmdc/puppeteer. Really helped me out with an engineering proposal I just finished. In past years I would have fumbled around with Visio forever and the result would have been worse.