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

add support for client-side storage for meshes and textures #21

Open
Foxman13 opened this issue Jun 22, 2015 · 3 comments
Open

add support for client-side storage for meshes and textures #21

Foxman13 opened this issue Jun 22, 2015 · 3 comments
Assignees

Comments

@Foxman13
Copy link

No description provided.

@Foxman13
Copy link
Author

Looks like indexedDB is the best solution for this - https://hacks.mozilla.org/2012/02/storing-images-and-files-in-indexeddb/

@stefangordon
Copy link
Contributor

Yeah probably the best today, but not great. Might help on IE and Chrome. IE will allow up to 250mb (after prompting the user for permission), which is reasonable I suppose. Chrome will allow up to 10% of free disk space, so it is great. Firefox and safari are really limited in space I think.

It is only valuable if the perf is actually better than reading out of the cache though, which is what is happening natively already after the first GET. Will have to do some tests to find out.

@Foxman13
Copy link
Author

I was going to add this at some point as an investigative feature - I could see if being beneficial with the larger meshes and the higher LOD sets where I think network would be a bottleneck.

@Foxman13 Foxman13 self-assigned this Jun 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants