Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apply-static-cache-manifest

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apply-static-cache-manifest

Basic find and replace of file names to their cached versions.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

apply-static-cache-manifest

Extremely basic find and replace to update file references with their cached equivalents.

Intended for use with the output of copy-with-content-hash.

installation

npm install apply-static-cache-manifest

usage

copy-with-content-hash path/to/foo.js -o builddir > cache-manifest.json
apply-static-cache-manifest -m cache-manifest.json -o builddir index.html

The above will ensure that the built index.html references the cached version of foo.js.

License: MIT

FAQs

Package last updated on 28 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc