JavaScript Ep. 8: 1300 JavaScript Files Kill the Rails Asset Pipeline

Опубликовано: 18 Октябрь 2024
на канале: Atomic Jolt
196
0

We have a project with 1300 individual JavaScript files. The result is a 3 minute load time when the page is refreshed. We pulled off a few hacks to make it a more bearable development experience. Find out how.

On a side note, once sprockets gets source maps going, that will ease some of the pain of finding your file you are working on. But that could be 2 years out.