[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003e\u003ccode\u003eApiCacheControl\u003c/code\u003e is an annotation used to configure cache control for APIs, acknowledging that the API frontend may function as a caching proxy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etype\u003c/code\u003e element within \u003ccode\u003eApiCacheControl\u003c/code\u003e determines the cache control type, defaulting to "no-cache" if not specified.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emaxAge\u003c/code\u003e element in \u003ccode\u003eApiCacheControl\u003c/code\u003e sets the maximum duration results can be cached, defaulting to 0 if not explicitly set.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emaxAge\u003c/code\u003e will have a default value of -2147483648 if it's not specified.\u003c/p\u003e\n"]]],[],null,["# ApiCacheControl (endpoints-framework 2.0.0-beta.5 API)\n\ncom.google.api.server.spi.config\n\nAnnotation Type ApiCacheControl\n-------------------------------\n\n-\n\n *** ** * ** ***\n\n \u003cbr /\u003e\n\n ```\n @Retention(value=RUNTIME)\n @Target(value=TYPE)\n public @interface ApiCacheControl\n ``` \nAnnotation for API cache control configuration. Note that the API frontend itself may act as a caching proxy. \n-\n -\n\n ### Optional Element Summary\n\n-\n -\n\n ### Element Detail\n\n\n -\n\n #### type\n\n ```\n public abstract java.lang.String type\n ``` \n The cache control type. Defaults to no-cache.\n\n Default:\n : \"\"\n\n \u003c!-- --\u003e\n\n -\n\n -\n\n #### maxAge\n\n ```\n public abstract int maxAge\n ``` \n The maximum age that results may be cached. If unspecified, defaults to 0.\n\n Default:\n : -2147483648"]]