Server-Side Caching
See original GitHub issueWe’d like to offer easy server-side caching, but we can’t do that right now with a single endpoint containing only a POST request to API Gateway.
We should create a second Endpoint on the existing data
Lambda which features a GET method. The GraphQL request should be provided in a query string, which API Gateway needs for caching.
Not sure what type of challenges we’ll run into implementing this, but if this works, great!
@kevinold @pmuens @breandr Do you see any potential issues with this?
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Server-Side Caching vs. Client-Side Caching - Edgemesh
Server -side caching is the temporary storing of web files and data on the origin server for reuse. At the user's first request...
Read more >Server-side caching - Apollo GraphQL Docs
Our philosophy behind Apollo Server caching is that a response should only be considered cacheable if every part of that response opts in...
Read more >What is caching and why do I need it for my website? [Server ...
The first thing to know is that server-side caching is different from your browser cache. When you visit a website, some of the...
Read more >Server-side Caching in Web Applications - Medium
Caching is the concept of saving commonly/ frequently used data in memory (inside or near to the server) and use them on behalf...
Read more >Server-side caching defined and clarified - TechTarget
Server -side caching, or flash storage installed in the server itself, is deployed to accelerate application performance. Placing the flash as close to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@breandr FYI, I created https://github.com/serverless/serverless/issues/1021 a time ago for the documentation of APIG caching.
Updated README but couldn’t find anything in serverless docs regarding enabling caching on a stage, so for now it’s just pointing users to the API Gateway Caching docs.