-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow user to use their own cloudfront cache policy #3544
Comments
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! |
Hi @mrbnclt 👋🏻 , thanks for opening this! I'm on the Amplify team and would like to get a bit more feedback here from you, if possible. If you're on the the Amplify Discord Server, my username is |
Hi @siegerts 👋🏻, I've sent a message in Discord. |
Hi @siegerts, appreciate your help looking into this! |
Any updates on this? |
Any updates on this, my cache is hitting miss on amplify |
Hello -- We just had a feature launch today that should fix your root issue. We now allow users to remove the cookies from the cache key. This seemed to be your main concern. We are a managed service so it is not possible for users to attach or alter the cloudfront caching policy directly. Please view our blog post for more info: https://aws.amazon.com/blogs/mobile/cdn-caching-improvements-for-better-app-performance-with-aws-amplify-hosting/ |
This issue is now closed. Comments on closed issues are hard for our team to see. |
This issue has been automatically locked. |
Before opening, please confirm:
App Id
d2xnowwx5rp3ry
AWS Region
us-east-1
Amplify Hosting feature
SSR
Is your feature request related to a problem? Please describe:
We host our Next.js application in Amplify but since it is using a managed cache policy in CloudFront that includes the cookies to generate the cache key, different users generate a different cache key that causes a significant page load time initially for users.
Describe how you'd like this feature to work
For this feature, our request is to allow an option to use a CloudFront cache policy that we define to have more control on how we should cache our pages.
The text was updated successfully, but these errors were encountered: