blurymind / YarnClassic

A tool for writing interactive dialogue in games!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

try to improve PWA load time

blurymind opened this issue · comments

It looks like it is not caching some stuff, resulting in a long load time on mobile.

Possibly the new wasm inkjs parser

Alot of it is lost in bundled js from deps/external libs

also noticed pwa is not breaking cache after updates properly

should be fixed as #319

another factor is file loading from cache time - with bigger files, the app can take a while to restore its previous status from cache

removed some dependencies
36ae01f
428fa6d
986b91f
edbd3c5

removed giant wasm blob for the ink file parser. This is handled by inkjs now
447d315

removed dict files. They are fetched and cached now instead- and dont block app loading
608cbef

sped up loading of giant files and added some debouncing
2f76af9
e372f56
84ff58a

app state persistence is now handled by a database instead of localStorage
5d3cf8e

the file i/o now is handled using the file system access api
c7694e2
so now you can override an opened/already saved file with ctrl+s or the save button

yarn's plugin api now has the ability to load plugins from a gist file
bd5e53a
c8bec68

It passes as a pwa and is not in the red, but there is still alot to be improved
image