henricook / clear-cache

Simple javascript library to clear cache and reload after

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clear-cache

Simple library to clear cache and reload after

NPM JavaScript Style Guide

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

About

Simple javascript library to clear cache and reload after


Languages

Language:JavaScript 100.0%