-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Question about caching, fetch vs alfy.fetch #174
Comments
You can't see the cached status. Code is here: Lines 115 to 173 in 3d277f8
The Alfred
The cache max-age is 5000 ms. You can catch the HTTP traffic to see if there are any requests.
Alfy is using https://github.com/sindresorhus/got. And we implemented the cache logic by ourself inside Alfy. You can check our source code. |
Hey! I am writing my first Alfred workflow, and I have a general question about caching;
(1) How do I see if something I fetched gets cached?
(2) Where is it stored?
(3) Does my second execution and all subsequent executions of alfy.fetch use the cache?
(3a) How can I very that?
(4) The main difference between alfy.fetch and native fetch is that alfy.fetch does caching + json parse?
The text was updated successfully, but these errors were encountered: