Skip to content
RED SAGSkills
medium10 pts · first answer countsdatabasescachingserialisation

Dates break after caching

Code caches a user object in Redis with JSON.stringify. After reading it back with JSON.parse, user.createdAt.getTime() throws. Why?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions