In this blog post, James Ward explains how you can use the Amazon CloudFront CDN, Heroku and Play 2 to transparently edge cache static assets. The blog provides a complete step-by-step example that starts by creating a new Play 2 application. This application is then deployed on the cloud with Heroku. Then CloudFront is setup to serve the static assets.