Open ArianHamdi opened 1 year 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!
Before opening, please confirm:
App Id
d3akk1nl18rszx
AWS Region
us-east-1
Amplify Hosting feature
Not Applicable
Question
My question is whether AWS Amplify currently supports Next.js edge middleware? Since middleware plays a crucial role in handling requests before they reach the application's paths. To ensure optimal performance, it is imperative that this middleware is deployed on the edge, effectively reducing Time To First Byte (TTFB) impacts. This is crucial to avoid any potential delays caused by cold boots on the middleware.
Per documentations (Unsupported features): Edge API Routes (Edge middleware is not supported)
But the edge middleware is very crucial for optimal performance.