Prefetching data in pipeline mode.

Prefetching data in pipeline mode.

shangjishangji Posts: 7Questions: 1Answers: 0
edited January 2014 in General
Hello,

We have implemented the server side + pipeline functionality and it works like a charm. Thanks a lot for creating this beautiful piece of software!

A UX issue sometimes arises: after visitor reaches the last page of a pipe, and he clicks for the next page, the processing info will show up until the next pipe of pages are fetched -- is it possible to prefetch the next pipe of pages before visitor reaches the last page, so that when he does reach the last page, he can go immediately to the first page of next pipe? This would cause little delay and it improves user experience. We'd like to have a smooth UX all the time.

To be more specific: say we have a pipe of size 20, and the visitor is at the 10th page of 1st pipe, we'd like to fetch the 2nd pipe of pages NOW, so that when visitor arrives at page 20 (last page of 1st pipe), page 21 is already locally available.

Thanks in advance!

Replies

  • shangjishangji Posts: 7Questions: 1Answers: 0
    Probably this isn't what everybody needs, but if anyone has any pointer on this, feel free to share your thoughts:)

    Thanks!
  • allanallan Posts: 63,695Questions: 1Answers: 10,500 Site admin
    The pipeline code from the example doesn't do that, but there is no reason it couldn't be modified to get the next page of data in advance. I'm not aware of anyone having written the code to do that yet though, so it would need to be developed. If you do write the code, I'm sure others would approach ate if you would be willing to share it here.

    Regards,
    Allan
  • shangjishangji Posts: 7Questions: 1Answers: 0
    Okay, good to hear that. I will need to dive a bit deeper into the code and see if I can come up with something. If anything, I'd share it here.
This discussion has been closed.