We want to enable cache only for a specific graphql query. I created the cache and chose "per-resolver caching" in appsync console. Then I enabled cache inside the query resolver. However, the caching metric shows no cache hits or misses. It seems the query was not cached at all and the request still went to the data source as indicated from backend logging.
Enabling full-request caching from console works fine for all queries. Has anyone seen the similar issues? Do I need to explicitly set the cachingConfig for the resolver? Thank you for any help!