MailNews:Better Faster IMAP Plan: Difference between revisions

Jump to navigation Jump to search
Line 251: Line 251:
|}
|}
<sup>1</sup> If and only if the selected folder is the source folder of the pending offline operation
<sup>1</sup> If and only if the selected folder is the source folder of the pending offline operation
===== How it works =====
Source and Destination folders are offline, autosync_offline_stores is set to true by default, pseudo offline is enabled:
* When a folder is selected the first time, TB fetches all message keys (a.k.a Messages unique identifier values) belong to this folder from the server (using <tag> UID fetch 1:* (FLAGS) imap command). It keeps the mutual keys intact, adds new keys into the local database, and removes the non-existing ones. Once this operation it's completed, it fetches the headers and message bodies belong to the new keys (I think all headers first, bodies later, not sure). Finally, it stores the next UID value to determine whether any messages have been delivered to the mailbox next time it is selected.
* If another folder is selected before all message bodies are downloaded, it stops downloading, switches to the other folder and starts the same process on this newly selected folder. Once this is completed, it resumes the download of the message bodies belong to the previously selected folder. A progress bar appears at the bottom right side of the window, but it doesn't show any progress.
* Unless it is in offline state, TB always fetches message bodies from the server even when they are available locally.
* When messages are moved from a folder to another, TB moves them immediately (Pseudo-Offline) and playback the operation later. Since TB creates fake msg keys during offline move, when the destination folder is selected, all its content are fetched again because of the reason explained above. '''mbox''' file for this folder increases as well.
* Delete is similar to Move operation if delete mode is move-to-trash.


==== Requirements ====
==== Requirements ====
270

edits

Navigation menu