Only load the CSS you need for the initial viewport in Rails!

Only load the CSS you need for the initial viewport in Rails!This gem gives you the ability to load only the CSS you need on an initial page view. This gives you blazin' fast rending as there's no initial network call to grab your application's CSS.This gem assumes that you'll load the rest of the CSS asyncronously. At the moment, the suggested way is to use the loadcss-rails gem.
Only load the CSS you need for the initial viewport in Rails! #ruby #rubydeveloper #rubyonrails #css https://rubyonrails.ba/single/only-load-the-css-you-need-for-the-initial-viewport-in-rails

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles