aws-amplify / amplify-hosting

AWS Amplify Hosting provides a Git-based workflow for deploying and hosting fullstack serverless web applications.
https://aws.amazon.com/amplify/hosting/
Apache License 2.0
461 stars 116 forks source link

TTFB is up to 8 seconds for a simple nextjs application #3915

Closed not-qwerty closed 2 weeks ago

not-qwerty commented 8 months ago

Before opening, please confirm:

Amplify Hosting feature

Performance mode, SSR

Is your feature request related to a problem? Please describe:

TTFB takes up to 8 seconds for a rather small NextJS app. There's no clear way of reducing the time to get it

Screenshot 2024-03-13 at 14 23 28

Describe how you'd like this feature to work

Provide the docs or official ways to make it right. You could also use some deeper facts like "it uses lambdas under the hood" so developers could figure out what's the easiest way of fixing it.

You could also include a paid option to keep the amplify 'warm'

github-actions[bot] commented 8 months ago

This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!

mauerbac commented 8 months ago

hi @not-qwerty - sorry to hear this! Can you tell me the App ID?

not-qwerty commented 8 months ago

hi @not-qwerty - sorry to hear this! Can you tell me the App ID?

Hey @mauerbac, here's my ID: d2iqbdcws9ruud

Jay2113 commented 8 months ago

@not-qwerty thanks for sharing the App ID. We are investigating into it and will keep you posted with our findings.

not-qwerty commented 8 months ago

@Jay2113 any updates on this one?

mauerbac commented 5 months ago

We are actively working on improvements here

swaminator commented 2 weeks ago

We have resolved this since.https://aws.amazon.com/blogs/mobile/cdn-caching-improvements-for-better-app-performance-with-aws-amplify-hosting/

github-actions[bot] commented 2 weeks ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.