-
Notifications
You must be signed in to change notification settings - Fork 22
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
Retrieving expiration time for cached items #7
Comments
There is not currently convenient way to get the cache time for resources, when I get a chance I'll see about providing that information in the APIObject returned. |
Hello, I'm wondering if there are any news about this subject ? Generally, it would be even more interesting to have a conveniant way to get access to all headers for resources, as there are expiration time (or cache duration), x-deprecated header etc. |
Yeah this is quite a desirable feature - I see there are two different pull requests in the queue at the moment which address the issue of cache expiry. |
quite desirable, as endpoints have a separate cache timer, also should be versioned (#17?) as well. edit: clarifying |
When I got the build fixed and ironed out in #28 I will take a look at this as I'm planning on refactoring the caching mechanism anyways for #30. There is indeed more info which could be sent back to the consumer, I think it would be nice to see if it's possible to add more info.
any suggestions on the names is more then welcome |
Hi,
I'm trying to pull market orders periodically and want to set the minimum period to the cache time. I know it is 300 s and see where you pull it from the headers. At the application level is there a way to retrieve the cache expiration time or cache duration?
I'm following your examples at Read the Docs, I'd like to get caching data for:
sell_items = region().marketSellOrders(type=item)
Thanks!
The text was updated successfully, but these errors were encountered: