Does python-gitlab support http based caching? #3172
Unanswered
notsatyarth
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @notsatyarth, the library itself does not, but it's extremely easy to add using https://pypi.org/project/requests-cache/. It's been asked often enough that we should at least document it or maybe add it as an optional feature. I'm unfortunately busy now, but will come back here to give you an example if you don't find a solution yourself 🙇 Please note, it's not always good to cache by default, as you might get outdated data when fresh data might matter. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there 👋🏽 .
I was wondering if the python-gitlab sdk supports http layer caching? I've noticed that the amount of time taken to execute a request for historical data results in a consistent time of execution. whereas I would expect that subsequent requests for the same dataset would be a lot faster.
Beta Was this translation helpful? Give feedback.
All reactions