Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Development Tools

Joshua Briley
Joshua Briley
Courses Plus Student 24,645 Points

Any plans to for a course on Rails Front End Performance Optimization?

Hey guys, the new Front End Web Optimization Workflow course is great. I work in a Rails environment and don't really get to take advantage of modern front end tooling. I realize that Webpack is coming, but we're stuck in legacy Rails 4.x apps for the foreseeable future.

Outside of the autoprefixer-rails gem, SVGeez/SVGO (manual CLI tool), and Cloudinary libraries (HUGE file size) for responsive images it seems I'm limited manually optimizing Sass and JS assets. I would love to find a way to automate the process of inlinining critical CSS and asyncing the rest. I would love to be able to automate the usage of tools like UnCSS to remove unused styles. It would be great to include Babel to transpile ES6, too. And figuring out progressive app requirements in Rails comes next, I guess.

As much as I love working in Rails, I wish there was more opportunity to use modern front end tools. Are any of you using gulp with Rails to do any of this? If so, do you any current resources you can share? Thanks a bunch.