Article describing how switching from Sprockets to Webpack can make your page load faster
14 views
Skip to first unread message
Rodrigo Rosenfeld Rosas
unread,
Feb 29, 2016, 10:59:36 AM2/29/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
This is actually a series of 3 articles explaining how to get the best load time for an SPA and why Sprockets will not allow you to get the last required bits. More specifically, it doesn't support code splitting (lazy code loading) out of the box and it's not easy to implement that. But webpack does: