
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
A reverse proxy server to convert, cache and response images in WebP format.
A reverse proxy server to convert, cache and respond images in WebP format. Can be used standalone or as a Koa middleware.
You'll need to install WebP binaries on your server, please see node-webp manual for installation.
You can also run malasada with Docker:
docker run --name malasada -p 80:3002 -v /path/to/config.json:/app/config.json -v /path/to/cache:/app/cache -d mudkip/malasada
Replace /path/to
with the correct location of config.json
and cache.
A config.json
file is required to run this program.
{
"backendType": "remote",
"backend": "http://upload.wikimedia.org",
"maxAge": 3628800000,
"forceWebP": false,
"cacheRootPath": "/var/cache/malasada",
"requestHeaders": {},
"queue": 1,
"port": 3002
}
remote
or local
.backendType
is remote
, or a local directory when backendType
is local
. Required.Accept
header.cache
directory of this program.backendType
is remote
.1
.When installed globally, it can be run with malasada --config config.json
.
You can also use it as a middleware in your Koa instance:
const Koa = require('koa');
const malasada = require('malasada');
const app = new Koa();
app.use(malasada(config));
Remember this program is not designed to be a full-featured reverse proxy, the backend server should only be a static file server.
A PURGE
request, or a GET
request with /purge
prefix can be used to delete cache of a certain path.
While the sweet malasada is used on 52Poké Wiki to handle hundreds of thousands requests daily. It currently lacks tests and significant features such as proper cache control and cache size management.
Pull requests and issues are welcome.
FAQs
A reverse proxy server to convert, cache and response images in WebP format.
We found that malasada 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.