
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
fastify-warmup
Advanced tools
A library used to warmup fastify server before call .listen();
function fastifyWarmup(fastify: FastifyInstance, conf: WarmupConf): void
npm i fastify-warmup
import fastify from 'fastify';
import {fastifyWarmup} from 'fastify-warmup';
const app = fastify({logger: true});
(async () => {
app.get('/a', async (req, rep) => {
});
app.get('/b', async (req, rep) => {
});
// will run after fastify.ready()
await fastifyWarmup(app, {
warmupData: {
'/a': ['a'],
'/b': 'b.json'
},
basePath: 'path/to/warmupBasePath'
});
const address = await app.listen(3001);
})();
interface WarmupConf {
warmupData: Record<string, string[] | string>
| (string | string[]);
/**
* warmup tasks will be split to groups
* [maxConcurrent]s per group
*/
maxConcurrent?: number;
timeout?: number;
/**
* all the files/folders in warmupData
* will find based on basePath.
*/
basePath: string;
}
warmupData is Record<string, string[] | string>The key of warmupData is the request url.
the Value of warmupData can be a string or string[], which can represents:
.json in that folder.the .json file, which is the warmup data, can be:
{
"method": "get" | "post" | ...;
"query": Object;
"payload": Object;
"headers": Object;
"cookies": Object;
}
warmupData is string | string[]warmupData represents:
.json in that folder.the .json file, which is the warmup data, in this case should contain url:
{
"method": "get" | "post" | ...;
"query": Object;
"payload": Object;
"headers": Object;
"cookies": Object;
"url": string
}
FAQs
fastify warmup plugin
We found that fastify-warmup 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.