How to Clean Flutter SDK Engine Artifacts & Pub Dependency Cache
Location & Quick Verdict
%LocalAppData%\Pub\Cache and %UserProfile%\.pub-cache
Flutter and Dart package managers cache downloaded pub packages, git repo dependencies, and compiled engine artifacts.
How Embedded Chromium (Electron / CEF) Caches Bloated Flutter SDK Engine Artifacts & Pub Dependency Cache
Modern web browsers and desktop apps built on Electron, Chromium Embedded Framework (CEF), or WebView2 run a full browser storage engine inside %LocalAppData%\Pub\Cache and %UserProfile%\.pub-cache. Every inline video preview, animated sticker, PWA offline bundle, and compiled V8 JavaScript script is written into disk-backed Cache_Data, Code Cache, Service Worker CacheStorage, and IndexedDB LevelDB tables without strict disk quotas.
Over months of daily usage, Flutter SDK Engine Artifacts & Pub Dependency Cache accumulates 3.0 GB – 20.0 GB of expired media blobs and stale Service Worker caches that are never evicted automatically. Clearing these cache subdirectories forces a clean storage state without deleting your saved passwords, active session cookies, bookmarks, or local databases.
# Inspect current disk footprint of Flutter SDK Engine Artifacts & Pub Dependency Cache (Read-Only)
$target = "$env:LOCALAPPDATA\Pub\Cache"
Get-ChildItem -Path $target -Recurse -Force -ErrorAction SilentlyContinue |
Measure-Object -Property Length -Sum |
Select-Object Count, @{Name="SizeGB";Expression={[math]::Round($_.Sum / 1GB, 2)}}
Manual Cleaning Instructions
- 1 Close VS Code and Android Studio.
- 2 Run 'dart pub cache clean' in Windows Terminal.
- 3 Or delete %localappdata%\Pub\Cache in File Explorer.
Note: If Windows alerts that a file is in use or locked by a background process, close the associated task in Task Manager before deleting, or use SWEEPR Cleaner to release locked handles safely.
Sub-Folders & Cache Locations Breakdown for Flutter SDK Engine Artifacts & Pub Dependency Cache
Modern Windows applications and system services split their disk footprint across multiple sub-directories (`Cache_Data`, `Service Worker\CacheStorage`, `Code Cache`, `GPUCache`, and `Crashpad\reports`). Review which sub-folders inside Flutter SDK Engine Artifacts & Pub Dependency Cache are safe to purge and which files remain protected:
| Sub-Folder / Cache Location | Storage Role | Typical Footprint | Deletion Safety |
|---|---|---|---|
| %LocalAppData%\Pub\Cache\Cache\Cache_Data | HTTP Disk Cache, Web Bundles & Static Media Chunks | 3.0 GB – 20.0 GB | 🟢 100% Safe |
| %LocalAppData%\Pub\Cache\Service Worker\CacheStorage | Offline PWA Assets, Background Sync & Media Blob Storage | 500 MB – 6.5 GB | 🟢 100% Safe |
| %LocalAppData%\Pub\Cache\Code Cache\js & wasm | V8 Compiled JavaScript & WebAssembly Bytecode Cache | 250 MB – 2.5 GB | 🟢 100% Safe |
| %LocalAppData%\Pub\Cache\GPUCache & DawnCache | Chromium Skia/ANGLE/WebGPU Compiled Shader Cache | 200 MB – 2.0 GB | 🟢 100% Safe |
| %LocalAppData%\Pub\Cache\Crashpad\reports | Historical Process Minidump (.dmp) Telemetry Files | 150 MB – 3.0 GB | 🟢 100% Safe |
| Cookies, Login Data, Bookmarks & Local Storage (leveldb) | Active Account Sessions, Saved Passwords & User Preferences | Protected | 🔒 Protected — Never Touched |
Frequently Asked Questions
Is it safe to delete Flutter SDK Engine Artifacts & Pub Dependency Cache?
Yes, 100% safe. Safely cleans up orphaned Dart/Flutter packages and frees gigabytes of storage. Active projects re-download packages on next flutter pub get.
How much storage space will cleaning Flutter SDK Engine Artifacts & Pub Dependency Cache free up?
Users typically reclaim 3.0 GB – 20.0 GB on Windows 10 and Windows 11 systems depending on update frequency and active cache retention in %LocalAppData%\Pub\Cache and %UserProfile%\.pub-cache.
Will clearing Flutter SDK Engine Artifacts & Pub Dependency Cache sign me out of my accounts or delete my chat history?
No. Authentication tokens, cookies, and bookmarks live in separate profile files (such as Cookies, Login Data, and Local Storage). Cleaning the cache subfolders inside %LocalAppData%\Pub\Cache and %UserProfile%\.pub-cache only removes temporary media and script caches.
Where is Flutter SDK Engine Artifacts & Pub Dependency Cache located on Windows 10 and Windows 11?
It is stored at %LocalAppData%\Pub\Cache and %UserProfile%\.pub-cache. You can paste that path directly into the Windows Run dialog (Win + R) or File Explorer address bar to inspect it.
Manual File Explorer vs. 1-Click SWEEPR Cleanup
| Feature | Manual Deletion | SWEEPR Cleaner |
|---|---|---|
| Locked File Handling | Fails on locked processes | Safe background release |
| Accidental Deletion Risk | Moderate (easy to delete wrong folder) | Zero (strict rules & hashes) |
| Safety Undo Rollback | None (Shift+Del is permanent) | 7-Day Automatic Rollback |
| Time Required | 10–20 minutes per app | < 60 seconds across 40+ areas |
Related Windows Cleanup Guides & Hidden Space Hogs
Clean Flutter SDK Engine Artifacts & Pub Dependency Cache Automatically
SWEEPR Cleaner safely clears Flutter SDK Engine Artifacts & Pub Dependency Cache along with 40+ other hidden app folders and leftover files in one click—covering up to 5 devices (Windows, Mac, Android & iOS) with a 7-day undo safety net.