Speeding Up Your Front-End: 2016 Version
summary
Rails 5 plus Sprockets 3/4 adds concrete fixes: use manifest.js and index.js modules to control precompile inputs, enable Babel/ES2015 for ES6 files, and serve source maps so dev matches production. Precompile time drops via a cache-path fix (reported as 12x precompile improvement). SRI support generates integrity hashes, Rails adds strong/weak ETags, HTTP cache forever and custom asset headers (Expires), fragment + collection caching uses read_multi with cache: true and collection cache keys, and async/defer recommendations improve page paint.
AI-written summary · about
chapters (5)
- 0:00Introduction and context
- 3:38Sprockets enhancements
- 15:08HTTP caching strategies
- 22:53Advanced caching techniques
- 27:50Page layout and optimization
related talks
11mFrontend Joy in Ruby on Rails
32mLightning Fast Deployment of Your Rails-backed JavaScript app
01h 02mPerformance
30mDevelopment Speed Optimizations in Rails 8
34mSurviving the Big Rewrite
01h 15mSpeedupRails, Speedup Your Code
20mMaster the Rails Asset Pipeline: Best Practices for Apps & Gems
41mSpeed up Rails, Speed up Your Code
