Gulp plugin to generate HTML5 Cache Manifest (appcache) files. Version 0.1.1 (last release August 2014). It is a gulp port of grunt-manifest, supporting options: cache, network, fallback, exclude, prefix, suffix, timestamp (default: true), and sha256 hash. Note: AppCache is deprecated in favor of Service Workers. No major updates expected.
npm install gulp-manifestNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows a Gulp task that generates a cache manifest file with hashing, online preference, and network wildcard.
Migrate to Service Workers (e.g., Workbox).
Set timestamp: false and use hash: true for content-based caching.
Use prefix and suffix options instead of root.
Set base option in gulp.src, e.g., gulp.src(['build/**/*'], { base: './' }).Configure your server to serve .manifest files as text/cache-manifest.
Run npm install gulp-manifest --save-dev and ensure require path is correct.
Use const manifest = require('gulp-manifest'); (no destructuring).Check gulp.src pattern and base option; ensure files exist.