Principle:Puppeteer Puppeteer Browser Cache Management
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Browser_Management, File_System, Cache_Management |
| Last Updated | 2026-02-11 23:00 GMT |
Overview
A file system management system that organizes, queries, and maintains downloaded browser binaries in a structured cache directory.
Description
Browser Cache Management provides a structured approach to managing downloaded browser binaries on disk. The cache:
- Maintains a consistent directory hierarchy: rootDir/browser-platform-buildId/
- Provides methods to list all installed browsers
- Resolves executable paths from browser metadata
- Supports uninstallation (removal) of specific browser versions
- Handles platform-specific executable path resolution
Usage
Use cache management to list installed browsers, clean up old versions, or programmatically locate browser executables for launching.
Theoretical Basis
# Cache directory structure
rootDir/
chrome-linux-131.0.6778.33/
chrome-linux64/
chrome ← executable
firefox-mac_arm-134.0/
Firefox.app/
Contents/MacOS/
firefox ← executable
Related Pages
Implemented By
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment