ionic-cache-buster
v0.0.8
Published
Filename Randomizer for Ionic Projects
Downloads
9
Readme
ionic-cache-buster
Renames built ionic files to help cache bust for web deployments. This will use current date to randomize the names of the default files that Ionic builds (main.js, main.css, and polyfills.js) and replace references to them.
Getting Started
Install via NPM:
npm i ionic-cache-buster -g
Usage
This is intended for use with Ionic 2 Browser builds. After your build:
ionic build browser
Run this command:
ionic-cache-buster
Caveats
This is an early work in progress. This currently will not work if you rename your default build directories.