Clear the HTTP cache
browser_clear_cacheClear Firefox's HTTP cache to remove stale cached resources, optionally targeting a specific origin or domain; without arguments, it clears the entire cache.
Instructions
Clear the on-disk HTTP cache (Services.cache2.clear). Pass origin to clear just that site, or domain to clear a base domain. Without arguments the whole HTTP cache is cleared, which is a separate operation from browser_clear_data (that one goes through ClearDataService and can also clear cookies/storage).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Only clear this base domain (example.com) | |
| origin | No | Only clear this origin (https://example.com) |