DEV Community

Cover image for Keeping profile sync small: offline data, size limits and "Don''t sync"
Zero Heartbeat
Zero Heartbeat

Posted on Originally published at passkeel.com

Keeping profile sync small: offline data, size limits and "Don''t sync"

If you carry your profiles between an office and a home computer, sync size matters. Small profiles upload in seconds when you close them and download quickly at the other end. A profile that has quietly grown to hundreds of megabytes takes longer, uses more of your plan's storage and, past a point, doesn't upload at all.

This post explains where the size comes from, what PassKeel leaves out on its own, and the per-site choice you get when a profile goes over your plan's limit.

Where the megabytes come from

Cookies and logins are tiny. What makes a profile big is usually offline data: some web apps store large databases and caches in the browser so they work without a connection and load faster. A messaging or mail web app can keep hundreds of megabytes of it in one profile.

That data is useful on the computer that has it, but it isn't what makes a profile yours. If it's missing on another computer, the site downloads what it needs again. Your sign-in, by contrast, lives in cookies and local storage, which always sync.

What PassKeel already leaves out

By default, sync skips browser caches, crash reports and similar temporary files, plus the offline storage of a handful of large web apps: Gmail, Slack, Microsoft Teams, WhatsApp Web, Outlook, Google Drive and Docs, Figma and Discord. Their cookies and local storage still sync, so you stay signed in; only the big offline databases stay on each computer.

Uploads are also incremental: after a profile's first upload, only the parts that changed are sent.

The per-profile limit

Each synced profile has a size limit set by your plan: 200 MB on Free and Solo, 500 MB on Pro and higher (see plans and limits for the current table, including total storage). If a profile is a little over, optional browser data is left out first. If it's still over, nothing is uploaded, and the profile's status becomes Sync problem.

Choosing what not to sync

Since version 2.1.3, when a profile is over the limit PassKeel tells you why in words. The profile's Sync… dialog says how big the profile is, what your plan allows, and "Nothing was uploaded", then lists every site with offline data in the profile, largest first, and how much you need to leave out. When it's relevant, it also names the plan that would fit the profile. If the dialog is closed, a notice offers Choose… to open it.

Next to each site is a Don't sync button. The app explains the trade: "A site's offline data you don't sync stays only on this computer; on other computers the site may need to download it again. Its cookies and logins still sync." Choose it for the biggest site you don't need offline everywhere, and PassKeel syncs the profile again straight away. Repeat until it fits.

The choice belongs to that profile and travels with it, so all your computers leave out the same site. It's reversible: the dialog's Offline data not synced list shows every site left out, including the default ones (marked Not synced by default), each with Sync again. If syncing a site again would put the profile back over your limit, PassKeel warns you first.

Some folders can't be tied to a site. Those appear by folder name, without a button; clearing that site's data in the browser is the way to make room.

Other ways to keep things small

  • Clear a site's data in the browser when you no longer need its offline copy.
  • Keep a heavy profile on one computer if you only ever use it there: turn off Sync this profile in its Sync… dialog (status Only on this computer). It still counts towards your plan's profile limit.
  • Delete cloud copies you don't need if your workspace's storage fills up: Sync… > ⋯ > Delete from the cloud… removes a profile's cloud copy and its versions but keeps it on this computer.
  • Move up a plan if your profiles genuinely need more than 200 MB each.

Read more

How cloud sync works covers what is synced, plan limits and status labels. For the encryption side, see how encrypted sync and hand-over work.

Top comments (0)