Went another rabbit hole tonight and... decided that the low CPU/one page at a time/not mobile friendly/etc. lists really needed a fresh approach.
It will probably break
prototype/scriptaculous -- obsolete since early 2010 -- and force me to replace everything with (at least)
jQuery but the user experience should improve quite a bit.
Trying a prototype based on
https://datatables.net/ for the collection lists:
Current:
static, reload one
each page, reload on
each search, using
&max= also forces a reload, pagination is
buggy, iCover display
doesn't retain the current sorting, etc.
Attachment:
static.png [ 91.13 KiB | Viewed 93 times ]
Prototype:
dynamic, everything is retrieved
only once, all sorting/search/pagination/row increases are
local and fast, iCover displays exactly the list
in the same order.
Attachment:
dynamic.png [ 174.08 KiB | Viewed 93 times ]
Julien