From 834cbcdd89ebd7484b65dbaab39b45836e8b94db Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 10 Sep 2023 08:41:20 +0100 Subject: [PATCH] docs: use `node:` prefix to bypass require.cache call for builtins --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index bdd38c1..6aeaf0d 100644 --- a/Readme.md +++ b/Readme.md @@ -30,7 +30,7 @@ This example shows using the plugin to disable client side caching of all routes. ```js -const http = require('http') +const http = require('node:http') const fastify = require('fastify')() const fastifyCaching = require('@fastify/caching')