Hello, I'm a Web services developer with 6+ YoE and with prior experience on implementing endpoints caching using Redis.
The caching implementation depends on the following details:
- What are the varying entries that affect the endpoint response: auth token, language, ...?
- The cache invalidation strategy is based on cache duration or the cache can be invalidated following an action?
- The caching implementation will be on the code side (using python decorators) or on the gateway side (using openAPI specification) ?
- What are the GCP tools and technologies are using or are you willing to use that can influence the implementation decision (always running autoscale-instances like Cloud Engine vs pay-as-you-go like Cloud Run and Cloud Functions, are you using API management solutions like Apigee or Cloud Endpoints) ?
- What endpoint data are you willing to cache (the in-memory python object or the json rendered string) ?
We can discuss any details over chat.