DoctorMcKay / node-steam-session

Node.js module for authenticating with the Steam auth server. Allows for generating refresh tokens and web auth cookies for use with steam-user and other packages.
https://www.npmjs.com/package/steam-session
MIT License
112 stars 20 forks source link

feat/add-cmlist-caching #30

Closed Sadzurami closed 11 months ago

Sadzurami commented 11 months ago

Added caching for preventing many requests to steam if we using many instances at once. For preventing cm's obsolescence added deleting them every minute.

Would be better to use ttl-cache, but i didn't find it in Std-lib (and created PR).