ember-cli-pagination icon indicating copy to clipboard operation
ember-cli-pagination copied to clipboard

Performance questions

Open andreas83 opened this issue 9 years ago • 2 comments
trafficstars

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.

andreas83 avatar Sep 15 '16 18:09 andreas83

You could use PouchDB without the CouchDB backend for this. https://github.com/nolanlawson/ember-pouch

See also: http://bloggr.exmer.com/

broerse avatar Sep 15 '16 20:09 broerse

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...

carrotcomputer avatar Oct 02 '16 21:10 carrotcomputer