{"library":"clear-cache","type":"library","category":null,"description":"A simple, zero-dependency browser library to clear the cache and optionally reload the page. Version 1.1.0 (latest) is stable but appears to be in maintenance mode with no recent updates. It provides a single function `clearCache` that clears various browser caches (service worker caches, AppCache, etc.) and refreshes the page. Unlike more comprehensive tools like `workbox`, this is a lightweight, no-fuss solution for simple cache busting. Works only in browsers; not for Node.js.","language":"javascript","status":"maintenance","version":"1.1.0","tags":["javascript","clear cache","force refresh","force reload","reload","refresh"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install clear-cache","imports":["import { clearCache } from 'clear-cache'","const { clearCache } = require('clear-cache')","import('clear-cache').then(m => m.clearCache())"]},{"cmd":"yarn add clear-cache","imports":[]},{"cmd":"pnpm add clear-cache","imports":[]}],"homepage":"https://github.com/dimitridumont/clear-cache#readme","github":"https://github.com/dimitridumont/clear-cache","docs":null,"changelog":null,"pypi":null,"npm":"clear-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}