I'm currently working with a Node.js application deployed on App Runner. If you've had experience with App Runner, you'll know that integrating it with CloudFront, especially when using a custom domain, can be quite challenging. I'm curious to know if App Runner has any built-in caching capabilities. I've gone through the documentation but haven't found any clear information. My web app is fairly light, with around 25kb of HTML and 250kb of JavaScript, and it's consistently returning response times between 30 to 150ms. Considering these decent speeds, I'm wondering if it's really worth the effort to try and implement CloudFront with App Runner again.
3 Answers
Unfortunately, App Runner itself doesn’t provide any caching features. It serves responses directly from your container. The fast response times you're getting are likely due to the service being lightweight and geographically close to your users, not because of any built-in CDN. If you're looking for real edge caching, you'll still need to use CloudFront or Cloudflare, but for now, if performance is good, you might not need to add an extra layer until you see more traffic.
Setting up CloudFront as a custom origin pointing to App Runner and using it in your behavior is straightforward. I'm surprised you're having trouble with it—might just be a configuration issue!
Honestly, if I were you, I’d consider moving away from App Runner and just use ECS directly. It can save you a lot of hassle in the long run.

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads