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

panel caching #8

Open
hafen opened this issue Jun 17, 2014 · 0 comments
Open

panel caching #8

hafen opened this issue Jun 17, 2014 · 0 comments

Comments

@hafen
Copy link
Contributor

hafen commented Jun 17, 2014

Instead of rendering page by page, for a fixed state of filtering, sorting, sampling, and panel layout, start to build a cache of hidden divs containing each page's rendered content.

Thus when the user clicks next, if the next page has been pre-cached, it will simply load quickly, otherwise, it will trigger the output to be rendered the usual way. Users typically stop to study the current page for a small amount of time, so it would be good to remove the page changing latency by rendering it while they are viewing.

I think the best way to do this is by a specially-numbered div for each page and a special shiny output that keeps triggering more data to be sent as it keeps rendering.

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

1 participant