question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Server-Side Caching

See original GitHub issue

We’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:closed
  • Created 7 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
HyperBraincommented, Apr 22, 2016

@breandr FYI, I created https://github.com/serverless/serverless/issues/1021 a time ago for the documentation of APIG caching.

2reactions
brettstackcommented, Apr 22, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found