You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I am looking at this library for using in my code, but I have a question: Would it be possible to implement a response cache?
Right now, in my sync code, I am using the httplib2 cache functionality for this, which caches content using the ETags that the API provides. This is the recommended approach by the official google-api-python-client (see https://github.com/googleapis/google-api-python-client/blob/main/docs/performance.md#cache).
How to implement this in with aiogoogle?
Thank you for your time.
The text was updated successfully, but these errors were encountered:
Hey @kovan sorry for taking a while to respond.
It certainly is possible, but unfortunately I don't have the time to work on this feature right now. If you're up for it, I can help give some guidance along the way. In the official Google lib, it seems that you get two options, first is to store the cache in Memcached and second is to store the cache on disk. Either way, we'll have to make it async framework agnostic. Or maybe we can just implement caching for the Asyncio session, your pick.
Thanks!
Hi. I am looking at this library for using in my code, but I have a question: Would it be possible to implement a response cache?
Right now, in my sync code, I am using the httplib2 cache functionality for this, which caches content using the ETags that the API provides. This is the recommended approach by the official google-api-python-client (see https://github.com/googleapis/google-api-python-client/blob/main/docs/performance.md#cache).
How to implement this in with aiogoogle?
Thank you for your time.
The text was updated successfully, but these errors were encountered: