© Stefan Wintermeyer 2018
Stefan WintermeyerLearn Rails 5.2https://doi.org/10.1007/978-1-4842-3489-1_13

13. Asset Pipeline

Stefan Wintermeyer1 
(1)
Bochum, Germany
 

The asset pipeline offers Rails developers the opportunity to deliver CSS, JavaScript, and image files to the browser more optimally. Depending on the type of file, this can be through compression or a file name fingerprint. Different CSS files are combined into one big file. The fingerprinting enables the browser and any proxy in between to optimally cache the data so the browser can load these files more quickly on subsequent visits.

../images/460214_1_En_13_Chapter/460214_1_En_13_Figa_HTML.gif  When running your web server on HTTP/2, it might be ...

Get Learn Rails 5.2: Accelerated Web Development with Ruby on Rails now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.