1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 16:14:44 +00:00

Add Safari cache cleaning

This commit is contained in:
Tw93
2025-11-15 19:45:00 +08:00
parent 9ab7d9abf8
commit 428585d0b5

View File

@@ -710,6 +710,11 @@ perform_cleanup() {
safe_clean ~/Library/Caches/com.apple.Safari/Webpage\ Previews/* "Safari webpage previews"
# Mail envelope index and backup index are intentionally not cleaned (issue #32)
safe_clean ~/Library/Application\ Support/CloudDocs/session/db/* "iCloud session cache"
# Additional system data reducers
safe_clean ~/Library/Caches/com.apple.Safari/fsCachedData/* "Safari cached data"
safe_clean ~/Library/Caches/com.apple.WebKit.WebContent/* "WebKit content cache"
safe_clean ~/Library/Caches/com.apple.WebKit.Networking/* "WebKit network cache"
end_section
# ===== 4. Sandboxed App Caches =====