Skip to content

Conversation

@kyle-ssg
Copy link
Member

@kyle-ssg kyle-ssg commented Jul 5, 2022

  • Node cache may return undefined on cache.get, we presumed it would always return flags
  • node-cache's type definitions are incorrect and claim you have to always provide a TTL in cache.set, in reality it falls back to stdTtl
  • app.server.address().port crashed the app for me

I've adjusted the example and confirmed that cache is getting set and used

@kyle-ssg kyle-ssg linked an issue Jul 5, 2022 that may be closed by this pull request
@kyle-ssg kyle-ssg merged commit 2838b70 into main Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cache TypeScript support

2 participants