4 ms·
It is similar, but try this: * Open https://pyvideo.org/speakers.html https://pyvideo.org/speakers.html and scroll down to the bottom. * Open https://www.ruby
by emmanueloga_ 2y ago
It is similar, but try this:
* Open https://pyvideo.org/speakers.html https://pyvideo.org/speakers.html and scroll down to the bottom.
* Open https://www.rubyvideo.dev/speakers https://www.rubyvideo.dev/speakers and do the same thing.
The Python page loads instantly, while the Ruby page makes several requests before fully loading. Ironically, it seems to be utilizing a rails feature called "turbo streams".
- hombre_fatal 2y agoYet it took five seconds for the pyvideo list to filter once I clicked a letter “G” while the rubyvideo site was instant.
- pauillac 2y agoyes this is exactly the idea all page remains fast even if we need to list 5k speakers on that page
- weaksauce 2y agoone thing you can do to make the speaker list more performant and seamless is to load the next list of speakers when the scroll gets to some value near the end of the list and also pull a few more speakers in each fetch.