Skip to content

Commit

Permalink
chore: reduce cacheControl
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi-best committed Dec 5, 2024
1 parent 24258a6 commit 583ab14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ app.use('/v1/*', cors());
app.get(
'/v1/*',
cache({
cacheName: 'nsapi',
cacheControl: 'max-age=900',
cacheName: 'nsapi-2',
cacheControl: 'max-age=60',
wait: true,
})
);
Expand Down

0 comments on commit 583ab14

Please sign in to comment.