static-expiry : Connect middleware for static files that sets caching response headers as well as generates and rewrites fingerprinted urls.. You can installing static-expiry npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install static-expiry $ sudo npm install -g static-expiry
If want to update the static-expiry package execute the command as below,
$ sudo npm update static-expiry
Update package globally,
$ npm install -g static-expiry
$ sudo git clone https://github.com/rektide/static-expiry.git
$ sudo npm install -g ./static-expiry
static-expiry@0.0.11 /usr/lib/node_modules/static-expiry
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall static-expiry
| Package Name | static-expiry |
| Version | 0.0.11 |
| Description | Connect middleware for static files that sets caching response headers as well as generates and rewrites fingerprinted urls. |
| Released Date | 2015-04-04T13:38:04.621Z |
| Published by | pjwal |
| How to Learn | https://www.npmjs.com/package/static-expiry/tutorial |