Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try to improve PWA load time #318

Open
blurymind opened this issue Apr 17, 2023 · 4 comments
Open

try to improve PWA load time #318

blurymind opened this issue Apr 17, 2023 · 4 comments

Comments

@blurymind
Copy link
Owner

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

Possibly the new wasm inkjs parser

@blurymind
Copy link
Owner Author

blurymind commented Apr 17, 2023

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

@blurymind
Copy link
Owner Author

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

@blurymind
Copy link
Owner Author

blurymind commented Apr 23, 2024

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

@blurymind
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant