The web runtime should try to cache Runes where possible #376
Labels
area - web-runtime
A runtime that runs in the browser.
category - performance
Something that impacts runtime performance.
effort - easy
This should be pretty simple
As a convenience, the web runtime's
builder()
can accept the URL of a Rune. This is awesome because you don't have to callfetch()
yourself, but can also be a massive pain when you need to download the same 50MB Rune from the internet every time you reload.Inside
Builder.build()
we should use the browser's caching functionality to avoid re-downloading the same file every time.@Ge-te and @binaryanthems, do you know what the best way to do this is?
The text was updated successfully, but these errors were encountered: