News for hackers. Stuff that matters.
Re:The modern web is becoming unusable by torgoguys on Friday December 20, 2019 @10:38PM (#21849430)
Please give me paged results instead of infinite scroll.
Re:The modern web is becoming unusable by zzo38computer on Friday December 20, 2019 @11:41PM (#21849662)
I agree. Paged results can be used instead. However, what might be good is a new kind of HTTP range request, and possibly some way to programmatically delimit each result in a HTML document.
Re:The modern web is becoming unusable by bmn__ on Saturday December 21, 2019 @12:59PM (#21852437)
That's already in HTTP/1.1, the Range header comes with units. The standard defined "bytes", but a Web developer can also use more granular units, for example "items". (See <http://www.iana.org/assignments/http-parameters#range-units>...) I've seen that in the wild a couple of times in the context of JSON based request/response pairs.
Re:The modern web is becoming unusable by zzo38computer on Saturday December 21, 2019 @02:17PM (#21852820)
I was aware that the Range header has units; I did not know of any units other than "bytes", though.