
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
fly-precache
Advanced tools
Generate a service worker to cache resources and make them available offline.
npm install --save-dev fly-precache
A full list of sw-precache options can be found here.
Cache assets within the dist directory. This will create a dist/sw directory that contains two dependencies for the dist/service-worker.js.
export default function* () {
yield this.source('dist/**/*.{js,html,css,png,jpg,gif}')
.precache({
cacheId: 'my-project-name'
})
.target('dist');
}
MIT © Luke Edwards
FAQs
Generate a service worker to cache resources and make them available offline.
We found that fly-precache demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.