Spotify-Readme icon indicating copy to clipboard operation
Spotify-Readme copied to clipboard

caching access tokens

Open xydv opened this issue 2 years ago • 3 comments

the access token have a lifetime of 3600s, so why not cache them rather than creating new access tokens at every request?

xydv avatar Oct 04 '23 11:10 xydv

The original project that I took inspiration from didn't have a caching mechanism, and I never thought to create one. That's actually a very good idea to implement. However, this project isn't my priority at the moment, so I won't be updating it to include a form of caching any time soon. Feel free to submit a pull request, and thanks for the suggestion!

tthn0 avatar Oct 04 '23 12:10 tthn0

okay, I could have submitted a PR but I am pretty noob at python, also I am creating same thing on node.js but the problem is I am struggling in making a svg (never made before), so can you give me an idea how to make a svg? can I take your template for my project?

xydv avatar Oct 04 '23 12:10 xydv

Sorry for the delayed response, I have been busy and will review the PR whenever I have time. Yes, you may refer to my template for your project.

tthn0 avatar Oct 11 '23 12:10 tthn0