Caching a Cloud Endpoint response

37 views
Skip to first unread message

Andrey Rychkov

unread,
Jun 15, 2017, 6:35:19 AM6/15/17
to Google App Engine
Hi,

Could you give me any signs if there is any methods to set caching time of endpoints responses? I have several endpoints that return a huge list of objects (~1MB) and I need to cache them someway. I tried to cache data in memcache, but it didn't help much. 
Am I right that the only method is to create a servlet to set caching headers and manually convert data to json ? 
Thank you.

George (Cloud Platform Support)

unread,
Jun 15, 2017, 10:58:49 AM6/15/17
to Google App Engine
Hello Andrey, 

You could use the Author's own solution to his "How to cache the response in google cloud endpoint?" question in stackoverflow. A cache dedicated servlet does not seem necessary. 

This forum is meant for general discussions related to the App Engine, trends and the like. For coding-specific problems you are better served posting in stackoverflow or similar forums, where programmers are ready to help with expert advice.  
Reply all
Reply to author
Forward
0 new messages