~/talk

How Sprockets Works

Talkat RubyDay 2016 · 2016-11-25..11-26· [ruby-on-rails, ruby]
slides:none on file

Explains Sprockets as a pipeline of concrete components: processors return metadata hashes (compilers, compressors, bundle and directive processors) that run in order to produce assets; the environment wires processors and the manifest maps logical names to fingerprinted outputs. Shows development vs production: runtime per-request compilation vs precompiled assets, and error checking for missing assets. Describes tools used: Sass-rails, execjs/DJ for running JS compilers, Shopify’s SVG→PNG generator, node process reuse patch, and cache/GC pain points and planned Rails 5 integrations.

AI-written summary · about

  1. 0:00Introduction
  2. 2:24Why assets pipeline
  3. 5:37How assets pipeline works
  4. 7:46Key components
  5. 10:17Processors explained
  6. 14:18Directives and manifests
  7. 16:54Environment and manifest objects
  8. 19:43Rails integration
  9. 21:10Sprockets and Sass
  10. 22:20ExecJS and JavaScript
  11. 24:52Development vs production
  12. 27:05File compilation process
  13. 28:57Key differences
  14. 29:39Extending sprockets
  15. 32:51Maintenance and community
  16. 33:58Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.