logto icon indicating copy to clipboard operation
logto copied to clipboard

feature request: Add `logto` key prefix for external cache such as Redis

Open darcyYe opened this issue 1 year ago • 2 comments

What problem did you meet?

In Logto, there are many frequently called API requests. To reduce the number of API requests, we can cache certain request results using cache. This allows us to retrieve the data directly from the cache the next time we make the same request. The best practice is to use a dedicated cache instance for Logto. However, some Logto OSS users may use a single cache instance shared by multiple services. While this can be cost-effective, it requires adding prefixes to keys for each service to prevent critical conflicts. To avoid such conflicts and maintain clarity, we've decided to prefix cache keys related to Logto with 'logto'.

Describe what you'd like Logto to have

All key-value pairs created by Logto instance should have prefix logto in keys.

darcyYe avatar Sep 18 '23 10:09 darcyYe

Please assign me this issue & provide any additional resources if possible

ShatilKhan avatar Oct 14 '23 21:10 ShatilKhan

Hi @ShatilKhan, thanks for your interest, and actually you don't need to wait for the ticket assignment before you start working on it. Now it's assigned to you and please let me know if you still want to work on it, even if the Hacktoberfest event is over. Let us know if you hit any blocker and we'll be willing to assign you.

charIeszhao avatar Nov 06 '23 06:11 charIeszhao