Skip to content
This repository has been archived by the owner on Jun 19, 2018. It is now read-only.
/ webpack-dll Public archive

A service that converts a package into a DLL and manifest

Notifications You must be signed in to change notification settings

cerebral/webpack-dll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-dll-service

A service that converts a package into a DLL and manifest

How does it work?

Webpackbin needs an external bundle of NPM packages. This keeps the webpackbin bundle very fast to rebundle and the external NPM packages bundle, called the DLL, is cached forever. When webpack-dll receives a request for bundling it looks something like: /[email protected][email protected]/manifest.json. Though it could also be: /[email protected][email protected]/dll.js. The point is that the first request that hits the service will start the bundle process, while the other request will stay in pending mode until the bundle is done.

In production mode this service sits behind www.jsdelivr.com. It caches the bundles for around a year and will instantly respond with later requests to same urls.

Redis

The service caches latest packages as the CDN has multiple endpoints and "POPs". This will allow for fast distribution for a period of time. The redis cache just expires oldest keys. It will handle 25MB of cache currently. You need Redis locally to run this service.

About

A service that converts a package into a DLL and manifest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •