
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
cache-bust-loader
Advanced tools
This Webpack loader adds a cache-bust query parameter to referenced files in your source code.
npm install cache-bust-loader
Add this to your webpack.config.js to apply the logic to your .css files for example.
module.exports = {
...
module: {
loaders: [
{ test: /\.css$/, loader: "cache-bust-loader?name=bust&value=ZZxTE!css-loader" }
]
}
...
};
module.exports = {
...
module: {
rules: [
{ test: /\.css$/, loader: "cache-bust-loader?name=bust&value=ZZxTE!css-loader" }
]
}
...
};
The following parameters are possible:
| Parameter | Mandatory | Data type | Default value |
|---|---|---|---|
name | True | String | |
value | False | String | |
types | False | String | eot;woff;woff2;svg;ttf;otf;jpg;jpeg;png;ico;gif;json |
The name describes the name of the query parameter, the value the string which should change every build. If the value is empty, no parameters are applied (e.g. in development mode). The types are filetypes
which you want to be cache-busted. Split them with a semicolon.
FAQs
Adds cache-bust query params to referenced files
The npm package cache-bust-loader receives a total of 5 weekly downloads. As such, cache-bust-loader popularity was classified as not popular.
We found that cache-bust-loader 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.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.