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

Caching unzipped assets for better performance #15

Open
deathcap opened this issue Mar 30, 2015 · 1 comment
Open

Caching unzipped assets for better performance #15

deathcap opened this issue Mar 30, 2015 · 1 comment

Comments

@deathcap
Copy link
Owner

Decompressing the zip on each page load can be slow, consider adding some kind of local caching (localStorage?) to avoid unnecessary zlib deflate

@deathcap
Copy link
Owner Author

Also the unnecessary (redundant per load) tile packing and mipmap generation, but that may need to be abstracted into a different module to be cached. Ideally would like to cache almost all of the image data before it is served to the GPU, and only regenerate it if modified (via user customization, e.g. loading a new artwork package).

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