We use cookies to understand how people use Depot.
⚡ Introducing Depot Cache
← All Posts

Now available: Cache retention policies for GitHub Actions & Depot Cache

Written by
kyletryon
Kyle Tryon
Published on
17 January 2025
We're excited to release new cache retention policies for your GitHub Actions and Depot cache. You can now set time and size limits for your cache entries to have better control over your cache storage costs.
Now available: Cache retention policies for GitHub Actions & Depot Cache banner

Earlier this week we launched Depot Cache, our new remote cache solution.

We know projects come in all shapes and sizes, which is why we offer up to 500GB of cache storage to accelerate your builds, no matter the scale. To help you manage these caches effectively, we’re introducing new cache retention policy settings.

In your organization settings, you'll now see management for two different types of cache: GitHub Actions cache and Depot Cache.

Depot Cache retention settings

Flexible Cache Retention Policies

To give you full control over your cache usage, we’ve introduced two retention policy options: time-based retention and size-based retention. These settings can be applied independently to GitHub Actions cache and Depot Cache.

Time-based retention

Set a time limit for cache entries, so any unused entries are cleared automatically after the specified duration. Options include 7 days (GitHub’s default), 14 days, or 30 days.

Time-based selection
Time-based options for cache retention

Size-based retention

Additionally, manage storage by assigning a maximum size for your cache. When the cache exceeds your set limit, the oldest entries are removed to make room for new ones. You can configure limits from 25GB, all the way up to 500GB.

Size-based selection
Size-based options for cache retention (Between 25GB and 500GB)

With these new settings, you can better manage your cache storage and usage for your organization's needs. Set your cache retention policies in your organization settings in the Depot app.

What's next?

Today is the last day of our first informal Depot Drop Week of 2025. If you haven't already seen the latest, check out our blog to catch up on this week's announcements - including the launch of Depot Cache, our new partnership with Dagger, and our new larger Docker image builders.

Have any questions or feedback? Join us in our Discord Community to chat with us.

Your builds have never been this quick.
Start building