A caching plugin for browserify that stores intermediate transform results in Redis to accelerate repeated builds. Version 1.0.0 is the latest stable release; the package has not seen updates since November 2016. Unlike in-memory caches (e.g., browserify-cache), it persists across processes and shares cache across CI servers. Requires Redis >= 2.6.12 and browserify >= 12.0.0. Notable differentiator: uses an options object with `browserifyHash` and TTL, and relies on ioredis for Redis connectivity.
npm install browserify-persist-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: create a browserify instance with the redis persist cache, add an entry file, and pipe the bundle to stdout.
Upgrade browserify and Redis to the required versions.
Set a meaningful `browserifyHash` that includes versions of all transforms used.
Pass Redis connection options: `{ redis: { host: 'my-redis.example.com', port: 6379 } }`Consider alternatives like browserify-cache or custom caching solutions.
Always call the required module: `require('browserify-persist-redis')()`Start Redis or configure a different Redis endpoint via the `redis` option.
Call the required module: `require('browserify-persist-redis')()`Run `npm install browserify-persist-redis` which should install ioredis automatically, or manually install: `npm install ioredis`