{"library":"react-cache-buster","type":"library","category":null,"description":"A lightweight React library for automatic cache busting in production builds. Version 0.1.8 provides a simple mechanism: during build, it generates a meta.json file containing the package version, and at runtime, a React component fetches that file, compares versions, and clears the cache/reloads the page if a new version is detected. It integrates with any React app (React >=17.0.2, Node >=10) and is TypeScript-friendly. Differentiators: zero-config setup via a single script and component, supports a custom loading component, and works with any hosting since meta.json can be served statically. Release cadence is irregular; last update was in 2021.","language":"javascript","status":"maintenance","version":"0.1.8","tags":["javascript","react","cache-busting","production","clean-build","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-cache-buster","imports":["import CacheBuster from 'react-cache-buster'","node ./node_modules/react-cache-buster/dist/generate-meta-tag.js","import { version } from '../package.json'"]},{"cmd":"yarn add react-cache-buster","imports":[]},{"cmd":"pnpm add react-cache-buster","imports":[]}],"homepage":"https://github.com/CagriAldemir/react-cache-buster#readme","github":"https://github.com/CagriAldemir/react-cache-buster","docs":null,"changelog":null,"pypi":null,"npm":"react-cache-buster","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}