Replies: 5 comments 3 replies
|
Yeah I think this would be great - especially the js dependencies. I was also thinking the the Libretro thumbnails could be copied locally so that they're cached. |
|
I've also thought about this, but I put it on hold because the workload might be larger than expected, and the benefits aren't as obvious. The workload isn't due to technical difficulty. It's just that it would be quite tedious. Out of curiosity, is this expectation due to privacy concerns, network environment issues, or simply an aesthetic preference? |
|
I've looked into this and found the file responsible for loading emulator cores: The cores are served in public/cores/custom & public/cores/retroarch. This should be good enough as a quick fix for now. I'm also looking into a way to cache images and box art locally. |
|
This issue is essentially a trade-off, but one that’s harder to make than it might seem. Some might assume that we only load a few simple JavaScript files from external sources, but that’s not accurate. The external files we load fall into three categories:
Bundling these into a Docker image inflates its size by at least 75 MB. While this may seem modest compared to some larger images, it already exceeds the current size of RetroAssembly’s own Docker image (which stands at 64.5 MB). |
|
Multiple images then? One as today, another with the extra 75mb and things vendored in. Potentially even other images with specific emulators vendored in. Then the user can choose. In my case, I would easily download 75mb more over the convenience of being able to use the tool any time even without internet or outages from upstream providers. |
Uh oh!
There was an error while loading. Please reload this page.
I noticed that the container deployment reaches out to external urls (like CDN, etc) to load the emulators. This means that the application cannot be used offline, the machine hosting it requires an internet connection.
I suggest the dependencies to be vendored inside the container to allow for a fully self-contained experience without requiring an Internet connection.
All reactions