Project and user scopes
Project cache operations address data shared within a project. User cache operations address data for the authenticated user. The same key in two scopes does not identify the same cache entry. Credentials and project permissions determine which scope a request can access.Values and expiration
Cache values are strings. Structured data must be serialized before storage and parsed after retrieval. Writes acceptttl in seconds. The default is 300 seconds, the maximum is 86,400 seconds, and 0 disables expiration.
For example, a support application might cache a serialized lookup result for reuse. A shared project key and a caller-specific user key have different audiences. Your application decides when cached data is stale and whether to replace or delete it.