RepoJournal
Rails

@rails

Ruby on Rails - Shopify, Basecamp, GitHub all run on it

Keep up with Rails in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

One email a day. Unsubscribe in one click.

Pick a date

Topics: Ruby Full archive →

The Wire · Showcase

RAILS SHRINKS BOOTSNAP CACHE KEYS 50% WHILE VIEW HELPERS GET PUBLIC API

By RepoJournal · Filed · About Rails

Bootsnap just cut its cache key footprint from 64 bytes down to 32, eliminating padding bloat that was silently inflating your load times, while Rails simultaneously promoted TagBuilder out of the shadows to become a documented, first-class citizen.

The bootsnap team shipped a significant optimization [1] that reduces cache key size by half — dropping from 64 bytes to 32 — and strips out all semi-random padding bytes that were cluttering the cache layer. This directly impacts boot performance for every Rails app using bootsnap, especially in CI environments where cache churn compounds. On the Rails side, TagBuilder [2] is no longer hidden behind `:nodoc:`, meaning `tag.div`, `tag.attributes`, and the entire dynamic tag API are now discoverable in official documentation and part of the public interface you can rely on. Rails also shipped a new `datalist_tag` helper [3] that finally gives you a clean one-liner for HTML5 datalist elements instead of nested content_tag soup. In the data pipeline, the image analyzer got a critical fix [4] — it was reporting wrong dimensions for EXIF-rotated images because it had the orientation flags backwards, swapping for flips but not for rotations. And buried in active development is a new `fetch_values` method [5] for ActionController::Parameters that will let you fetch multiple keys at once without the loop boilerplate.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] Shrink the cache key from 64 to 32 bytes ↗ rails/bootsnap
  2. [2] Action View: Document `TagBuilder` as part of the public interface ↗ rails/rails
  3. [3] Add datalist_tag to create datalist form elements ↗ rails/rails
  4. [4] Fix image analyzer reporting wrong dimensions for mirrored EXIF orientations ↗ rails/rails
  5. [5] Add ActionController::Parameters#fetch_values for multi-key fetching ↗ rails/rails

Quick answers

What shipped in Rails on May 7, 2026?
Bootsnap just cut its cache key footprint from 64 bytes down to 32, eliminating padding bloat that was silently inflating your load times, while Rails simultaneously promoted TagBuilder out of the shadows to become a documented, first-class citizen. In total, 16 commits and 5 pull requests landed.
Who contributed to Rails on May 7, 2026?
5 developers shipped this update, including byroot, seanpdoyle, willianveiga, bogdan, and Saidbek.
What were the notable Rails updates?
Shrink the cache key from 64 to 32 bytes, Action View: Document `TagBuilder` as part of the public interface, and Add datalist_tag to create datalist form elements.

More from @rails

Daily updates, in your inbox

Follow Rails

Keep up with Rails in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?