148x Speedup with CloudFront for CDN

I saw a 148x speedup by switching to CloudFront for my CDN. I’ve been building an authenticated image gallery using Java, Spring Boot, and Angular. The initial performance serving out of an S3 Bucket with presigned URLs was... sluggish. By pivoting to Amazon CloudFront, I saw a speedup between 8x and 148x for Time to First Byte (TTFB). It’s a great reminder of how much edge caching matters when handling media, a lesson I learned from using managed services like Vercel. A few takeaways from the build so far: Angular vs. Next.js - Coming from a Java background, Angular’s structure and dependency injection feel much more natural than Next.js. Local Dev - Using Docker for PostgreSQL has made the local environment incredibly stable and quick to spinup. Time to move this build to a permanent home. DigitalOcean? Linode? Hetzner? I’d love to hear your recommendations for hosting personal projects. #SoftwareEngineering #AWS #Java #Angular #WebDevelopment 

To view or add a comment, sign in

Explore content categories