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.

[serverless-api-gateway-caching] No Rest API found. Caching settings will not be updated - when used in conjunction with serverless-nested-stack.

See original GitHub issue

The serverless-nested-stack breaks down the stacks in few nested stacks to avoid the cloudformation limitation of 200 resources per stack. And when I use serverless-nested-stack breaks and serverless-api-gateway-caching I get: Serverless: [serverless-api-gateway-caching] No Rest API found. Caching settings will not be updated.

It seems to me that the code: https://github.com/DianaIonita/serverless-api-gateway-caching/blob/develop/src/restApiId.js#L15 is not checking in all nested stacks if resource ‘ApiGatewayRestApi’ exists! Let me know if you need me to provide any additional information!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
chaitanya11commented, Jun 17, 2019

I am also facing same issue when used with serverless-plugin-split-stacks.

2reactions
webchazcommented, Apr 3, 2019

I’m getting this same issue using serverless-plugin-split-stacks have also tried multiple order for including these. Any chance you found a solution to this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Serverless deploy not updating AWS API Gateway cache ...
We are deploying an API gateway to AWS and noticed that it is not updating specific API Gateway service settings, particularly around ...
Read more >
Enabling API caching to enhance responsiveness
You can enable API caching in Amazon API Gateway to cache your endpoint's responses. With caching, you can reduce the number of calls...
Read more >
serverless-api-gateway-caching - npm
A plugin for the serverless framework which helps with configuring caching for API Gateway endpoints. Good to know. If you enable caching ......
Read more >
HTTP Caching Policy | MuleSoft Documentation
When you apply the HTTP Caching policy to your API from the UI, you can configure ... If you are using CloudHub, ensure...
Read more >
A deep dive into caching REST APIs - Stellate
ETag, Cache-Control, Last-Modified, Max-Age: how does REST caching work under the hood and how can you use it with Node.js?
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