← Graph

Active Storage

tool 5 connections

Rails 5.2 feature for managing image/file uploads. The talk recommends using it to generate multiple image output formats (e.g. WebP for Chrome) to reduce bytes delivered, though it requires detecting the client browser. Janko notes that Active Storage was released with Rails 5.0 with a similar philosophy to Shrine, and that it adopted Janko's image_processing gem (with mini_magick and libvips wrappers) as of Rails 6.0. Active Storage encodes processing steps into the derivative URL, a design Janko doesn't favor because the URL grows with processing logic and cannot always represent block-based processing. It also ships its own JavaScript for uploads.

category
framework
about
Active Storage tool
Recommends using for multi-format image delivery.
about
Active Storage tool
Compared with Shrine, especially regarding URL-encoded processing and bundled JavaScript.
recommends
Active Storage tool
Recommends for serving modern image formats.
tool Active Storage
uses
Active Storage adopted the image_processing gem as of Rails 6.0.
tool Rails 5.2
uses
Active Storage tool
Rails 5.2 ships Active Storage.

Provenance

Read by
27 extractions