On 02.08.2010 13:51, A.L.E.C wrote:
- It seems like we need to know something for the Next/Prev buttons to
work, but why not restructure those to be an ajax call like "Fetch('next',UID)" so that the "next" in order email is looked up only at the moment we click, rather than looking it up (possibly needlessly) for every email? This seems to be a big win?
This could be a solution, but this way we cannot e.g. disable Prev button when there's no previous message.
Ahhh, in this way we'll have the adventage in performance only for the first opening of a message. When you click the Next/Prev, there will be no speed up.