Skip to content

Discussion: discovery doc caching #110

Closed
@tmatsuo

Description

@tmatsuo

discovery.build() is handy, but afaik, it should be avoided in any production systems, especially if the API is considered stable and you should cache the discovery document and re-use it.

When Cloud Pub/Sub released the API version v1, I started to cache (appengine/other) the discovery document in our samples.

It is great if there is a library, or even discovery.build() takes care of all the caching stuff under the cover, so I will start working on either of 1) create an independent library that does caching, or 2) create a PR to google-api-python-client.

Before I proceed, I'd like to ask: Which do you guys prefer?

Metadata

Metadata

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions