mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
6d72bb2aaf
Summary: Headers can be quite big, so we might as well download and store only the ones that we care about. This patch also makes it so we stop downloading MIME structures twice per message. While it's possible that we _may_ want to make more headers accessible later, we don't currently make the generic pile of headers accessible to N1 or N1 plugins in any way, so doing that would end up requiring changes to the sync code regardless. I think it's worth optimizing the base experience rather than trying to predict what we may want in the future. Plus, it seems more likely that we'll want to build future extensibility using thread metadata, rather than message headers. On inboxapptest1@fastmail.fm, this patch decreases the size of the generated sqlite file for a fully synced mailbox by 35%. Test Plan: manual Reviewers: juan, evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D3611 |
||
---|---|---|
.. | ||
images | ||
spec | ||
src | ||
stylesheets | ||
main.es6 | ||
package.json |