Skip to content

Renames built ionic files to help cache bust for web deployments.

Notifications You must be signed in to change notification settings

jlbeard84/ionic-cache-buster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ionic-cache-buster

npm version Build Status

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.

About

Renames built ionic files to help cache bust for web deployments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published