I try to control the cache headers of the response of my endpoint method (built on Google Standard AppEngine).
I found this two annotation ApiCacheControl and ApiMethodCacheControl in the framework, but they seem not working; my method response always come back with "Cache-Control=no-cache" header no matter how I configure those annotations.
Do you have an example how to use those?
If those are truly not working/supported, is there any other way that I can do to control my method response's cache header?
Reference to the above annotation can be found here: https://cloud.google.com/endpoints/docs/frameworks/java/javadoc/com/google/api/server/spi/config/ApiCacheControl