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

Reduce hourglasses by caching snapshots #507

Open
gwhitney opened this issue Nov 27, 2024 · 0 comments
Open

Reduce hourglasses by caching snapshots #507

gwhitney opened this issue Nov 27, 2024 · 0 comments
Labels
ui Something having to do with the user interface visualizer Has to do with a visualizer or the visualizer subsystem.

Comments

@gwhitney
Copy link
Collaborator

After #506 is complete, if one does a sequence switcher when Turtle is the active visualizer, there will always by $T-N$ hourglasses showing at first, where $T$ is the number of thumbnails visible and $N$ is the allowed max of WebGL contexts.

Reduce this sometimes by caching snapshots keyed by query, either

(I) in the browser localStorage, or

(II) on the server.

(Some pros/cons: we have much more space, and sharing between clients, on the server; but we do have to implement running frontscope headless on the server to generate the snapshots in that case.)

@gwhitney gwhitney added enhancement ui Something having to do with the user interface visualizer Has to do with a visualizer or the visualizer subsystem. labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui Something having to do with the user interface visualizer Has to do with a visualizer or the visualizer subsystem.
Projects
None yet
Development

No branches or pull requests

1 participant