Categories: None [Edit]

lazy_chain

https://rubygems.org/gems/lazy_chain
https://github.com/OutlawAndy/lazy_chain
Most slow Rails pages are not slow -- a handful of method calls on them are. LazyChain lets you mark those calls in your templates and moves them off the critical path. The page renders right away, and each deferred value loads on its own in a Turbo Frame as soon as it is ready. Values below the fold are never computed at all unless the user scrolls to them. No background job infrastructure, no cache to invalidate by hand, and no JavaScript to write -- just standard Turbo Frames and standard Rails caching.

Total

Ranking: 182,437 of 196,584
Downloads: 1,962

Daily

Ranking: 19,950 of 196,552
Downloads: 9

Depended by

RankDownloadsName

Depends on

RankDownloadsName
45784,179,185rails

Owners

#GravatarHandle
1iconOutlawAndy