Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i did not understand the usage #5

Closed
ama-coder opened this issue Apr 18, 2023 · 4 comments
Closed

i did not understand the usage #5

ama-coder opened this issue Apr 18, 2023 · 4 comments

Comments

@ama-coder
Copy link

hello.
what is the use of this lib? i didn't understand properly.
(whats the difference between this and a simple value/variable in js?)

@jelveh
Copy link
Contributor

jelveh commented Apr 18, 2023

I'd characterize the use case as "in-memory caching module for JavaScript for when you need caching but running Redis or Memcached would be an overkill."
This is what I needed for puter.com (rate limiting etc.) so I decided to build it.
Hope this helps :)

@ama-coder
Copy link
Author

ama-coder commented Apr 18, 2023

thanks, are you iranian? can you explain to me in farsi. 'cause i didn't get it any ways
i mean where it does stores data? local storage or something, or its with system/memalloc stuff?

@jelveh jelveh closed this as completed Apr 19, 2023
@jelveh
Copy link
Contributor

jelveh commented Apr 19, 2023

It stores data in memory. I don't think we'll ever add persistence to disk (or maybe we will if users ask for it!)
Sorry, I don't have a Farsi keyboard and I wouldn't be able to explain it in Farsi very well, but do let me know if you have further questions. Would be happy to help :)

@jelveh jelveh reopened this Apr 19, 2023
@jelveh jelveh closed this as completed Apr 19, 2023
@ama-coder
Copy link
Author

tnx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants