Reflections on Mark Hutter’s RailsConf 2020 talk
Mark shows that ActiveStorage has some nice features which make it a good option for serving images but points out that some of those options come at a price. For example, serving variants on the fly can be expensive.
Mark has a pragmatic answer on how to measure “is it fast enough?” along with some best practices on ensuring images served through ActiveStorage are performant:
RepresentationsController
if you need to cache ActiveStorage images cached using a CDN