May 30, 2013 • on paperclip, performance, rails, and s3 Paperclip is a great gem for handling file uploads in your Rails app, but there are some important steps you need to take to ensure the best performance when serving images. Set Expires Headers I’m using Amazon S3 to serve images, and Paperclip doesn’t tell S3 to set expires headers on uploads by default, which means browsers won’t cache thes