Computer >> Hướng Dẫn Máy Tính >  >> Hệ Thống >> Windows

14 cách xóa cache trên Windows 11

Cache tăng tốc truy cập nhưng đôi khi gây lỗi, ngốn dung lượng, cần dọn định kỳ. 14 cách xóa cache trên Windows 11:

Cache là gì?

Cache (phát âm ka·shay) – bộ nhớ đệm lưu dữ liệu thường dùng để tải nhanh hơn. Phân biệt:

  • Cache files: File ảnh, icon, shader... lưu trên ổ cứng.
  • Cache memory (L1/L2/L3): Bộ nhớ CPU cực nhanh, nhỏ (KB-MB), không thể xóa thủ công.

Tại sao xóa cache?

  • Cache hỏng → crash/app lỗi.
  • Giải phóng dung lượng ổ cứng.
  • Cải thiện hiệu năng khi cache quá lớn.
  • Lấy phiên bản mới nhất web/app (cache cũ che phiên bản mới).

An toàn: Xóa cache an toàn – file non-essential, app/web sẽ tạo lại tự động.

14 cách xóa cache

1. Xóa file tạm %temp%

  1. Win + R → %temp% → Enter.
  2. Ctrl + A → Delete → Skip file đang dùng.

2. Xóa Temporary Files qua Settings

  1. Win → Storage settings.
  2. Temporary Files → tick mục cần xóa (đọc mô tả) → Remove files → Continue.

3. Disk Cleanup (Công cụ tích hợp)

  1. Win → Disk Cleanup → chọn ổ.
  2. Tick: DirectX Shader Cache, Delivery Optimization Files, Windows error reports... → OK → Delete Files.
  3. Clean up system files → chọn ổ C → tick thêm: Windows Update Cleanup, Previous Windows installations... → OK.

4. Flush DNS (Xóa DNS cache, chống DNS poisoning)

  1. Win → cmd.
  2. ipconfig /flushdns → Enter.

5. Xóa Microsoft Store Cache

  1. Win + R → wsreset.exe → Enter.
  2. Cửa sổ hiện ra tự đóng sau khi xong.

6. Xóa Browser Cache

Chrome:

  1. Ctrl + Shift + Delete.
  2. Time range → tick Cached images and files → Clear data.

Firefox:

  1. Ctrl + Shift + Delete.
  2. Time range → tick Cache → OK.

7. Xóa Location Cache

  1. Win + I → Privacy & Security → Location.
  2. Kéo xuống Location History → Clear.

8. Xóa Activity History

  1. Win + I → Privacy & Security.
  2. Clear activity history → Clear.
  3. Bỏ tick Store my activity history on this device nếu không muốn lưu.

9. Xóa Prefetch Files

  1. Win + R → prefetch → Enter.
  2. Nếu mở thư mục: Ctrl + A → Delete.

Lưu ý: Prefetch giảm thời gian boot. Xóa có thể làm boot chậm lần đầu sau đó.

10. Xóa File Explorer Cache (Quick Access history)

  1. Mở File Explorer → 3 chấm → Options.
  2. Tab General → phần Privacy → Clear.

11. Xóa System Restore Cache (Xóa restore points)

  1. Win → Create a restore point (System Properties).
  2. Tab System Protection → Configure → Delete → Continue.

Cảnh báo: Mất khả năng khôi phục hệ thống. Chỉ làm khi chắc chắn.

12. Storage Sense – Tự động dọn cache định kỳ

  1. Win + I → System → Storage → Storage Sense.
  2. Bật Automatic User content cleanup.
  3. Cấu hình: Run Storage Sense (hàng ngày/tuần/tháng), xóa Recycle Bin (>30 ngày), xóa Downloads (>60 ngày không mở).

13. Xóa Clipboard Cache

  1. Win → Clipboard settings.
  2. Kéo xuống Clear clipboard data → Clear.

14. Xóa Display Cache (Registry)

  1. Win + R → regedit.
  2. Đến: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers.
  3. Tạo restore point trước.
  4. Xóa 3 key: Configuration, Connectivity, ScaleFactors.
  5. Khởi động lại.

FAQ

  • Cache vs Cookie: Cache lưu file tĩnh (ảnh, HTML), Cookie lưu dữ liệu nhỏ (user, session, giỏ hàng).
  • Đuôi file cache: Thường .cache (không phải format chuẩn).
  • Mở file cache: Dùng tool đọc Snac-1.3 VDA hoặc web fileproinfo.com.
  • Cache memory nhanh? Có – nhanh hơn RAM, gần CPU, chu kỳ clock rất thấp.
  • Sau khi xóa browser cache: Web load chậm lần đầu, setting web bị reset, sau đó cache tái tạo.