ember-cli-pagination
ember-cli-pagination copied to clipboard
Performance questions
is it possible to cache the results ? it would be also nice to preload the next (x pages) via configuration. Any help is highly appreciated.
You could use PouchDB without the CouchDB backend for this. https://github.com/nolanlawson/ember-pouch
See also: http://bloggr.exmer.com/
I am falling into some performance problems too. Using this to display a masonry grid of 9 items in a Swiper slider of 100 slides.
Even if results are cached, you will still block the one thread trying to show it.
Pouch is a good solution, even better with workers! (https://github.com/nolanlawson/worker-pouch)
But be wary of how you retrieve and update the preloaded pages...