# Offline and cache

Control which files are on your Mac, and how much disk space Orbit uses.

Orbit keeps two kinds of file data on your Mac. They behave differently, and you control each one.

| | Opened files | Offline files |
| --- | --- | --- |
| What's kept | Data you've read recently | Every file in a drive you chose |
| How it gets there | Automatically, as you open files | You choose **Keep Offline** |
| Removed when | The space limit is reached, oldest first | You remove the offline copy |
| Counts toward the space limit | Yes | No |

## Opened files

Files download when you open them. Orbit keeps that data so the next read is local.

Set the limit under **Settings → Drives & Storage**: "Keep up to N GB of opened files on this Mac". The default is 20 GB. When the limit is reached, Orbit removes the copies you opened longest ago. They stay in your drive and download again when you next open them.

## Keep a drive offline

1. In the Orbit window, open the drive's **…** menu.
2. Choose **Keep Offline**.
3. Wait for the download to finish before you disconnect. **Offline Files** shows progress and the size downloaded.

Offline files are always on your Mac and don't count toward the opened-files limit, so check that the disk has room for the whole drive.

To free the space, open **Offline Files** and choose **Remove Offline Copy**. The files stay in the drive.

## Edits made offline

Saves made without a connection are stored on your Mac and upload when you're back online, in the order you made them. If someone changed the same file in the meantime, your edit is saved as a [conflict copy](https://docs.orbitfs.io/mac/finder#when-two-people-save-the-same-file).

## Limit upload speed

**Settings → Drives & Storage** has **Upload speed limit**, for when uploads compete with a call or a slow connection.
