<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/prune-early-and-often-4oyvdjloh" -->

---
title: prune early and often | daily.dev
description: uv&#x27;s caching mechanism can silently consume large amounts of disk space over time, especially when creating many demo projects with isolated environments....
canonical: https://daily.dev/posts/prune-early-and-often-4oyvdjloh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: prune early and often | daily.dev
og:description: uv&#x27;s caching mechanism can silently consume large amounts of disk space over time, especially when creating many demo projects with isolated environments....
og:url: https://daily.dev/posts/prune-early-and-often-4oyvdjloh
og:image: https://api.daily.dev/og/posts/4OYVDjLOH.png
og:image:alt: prune early and often
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# prune early and often

**[Vincent D. Warmerdam](https://daily.dev/sources/koaning)** · 1 min read · 1 upvotes · 0 comments

## Summary

uv's caching mechanism can silently consume large amounts of disk space over time, especially when creating many demo projects with isolated environments. Running `uv cache prune` regularly clears stale cache entries — in one instance freeing 168.2GB of disk space.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://koaning.io/posts/prune-early-and-often>

---

Tags: [#python](https://daily.dev/tags/python)

[View this post on daily.dev](https://daily.dev/posts/prune-early-and-often-4oyvdjloh)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"prune early and often","url":"https://daily.dev/posts/prune-early-and-often-4oyvdjloh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/prune-early-and-often-4oyvdjloh"},"datePublished":"2026-04-20T13:19:01.075Z","dateModified":"2026-04-20T13:20:50.341Z","description":"uv's caching mechanism can silently consume large amounts of disk space over time, especially when creating many demo projects with isolated environments....","image":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","thumbnailUrl":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","isAccessibleForFree":true,"articleSection":"Vincent D. Warmerdam","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Vincent D. Warmerdam","logo":"https://media.daily.dev/image/upload/s--r1vuGNlQ--/f_auto/v1752592623/logos/koaning","url":"https://daily.dev/sources/koaning"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/prune-early-and-often-4oyvdjloh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Vincent D. Warmerdam","item":"https://daily.dev/sources/koaning"},{"@type":"ListItem","position":3,"name":"prune early and often"}]}
```

