1.1.0 • Published 3 years ago
clear-cache v1.1.0
clear-cache
Simple library to clear cache and reload after
Install
npm install --save clear-cache
yarn install clear-cache
Usage
import {clearCache} from "clear-cache"
clearCache()
Parameters
This is the list of parameters that you should probably know about.
reloadAfterClear
boolean
| optional | defaults to:true
Allows triggering a refresh once the cache is cleaned.
License
MIT © dimitridumont