fastify-no-cache
Fastify plugin to disable client-side caching
Why?
You may know no-cache as a no-cache middleware used in helmet. And you could use it as a middleware in fastify also. So why i made this plugin?
You may find the reason in benchmark result and wish you like it. :)
Install
Via npm:
npm i fastify-no-cache
Via yarn:
yarn add fastify-no-cache
Usage
const fastify = ;const fastifyNoCache = ; const app = ;app; app;
Changelog
- 0.2.0
- Add test case
- Add code coverage
- Add benchmarks
- 0.1.0:
- Init version