2 same requests are made to a secondary storage

Better Auth is writing to the cache twice for the same session token within milliseconds of each other. The issue can be reproduced by adding secondary storage to the client and making an API request to sign-in/email endpoint
No description
1 Reply
begot
begot3w ago
noticed this alongside redundant keys being added for static pages. apparently for caching, but i don’t see why better-auth thinks it needs to cache static files for example. seems like a massive overhead

Did you find this page helpful?