Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
salwador committed Oct 19, 2024
1 parent 245905c commit 1f6e3d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ const { default: FastifyBowser } = require(`@bsnext/fastify-bowser`); // CJS

const server = Fastify();
await server.register(FastifyBowser, {
// Use parsed user-agent cache
// Use parsed user-agent LRU cache
cache: boolean = false;

// Cache limit. Will be automatically purged, if cache size reach limit.
// Cache LRU max size.
cacheLimit?: number = 100;

// Automatically cache purge interval in seconds.
Expand Down

0 comments on commit 1f6e3d9

Please sign in to comment.