DEV Community

loading...

Discussion on: I rebuilt my portfolio🌻 Now it loads in 1.6s 🎉 Here's how I did

Collapse
lcjury profile image
luis jury senn

You should try to put your css inline in your html. May not be the best practice, but your css it's really small, maybe, killing one (or two) requests worth it :)

Collapse
saurabhdaware profile image
Saurabh Daware 🌻 Author

That will surely help me in 'getting the content along with the styles and overall colors' as soon as possible but my index.css is still large and making it inline will just block the first load for some time.

Since they are preloaded they don't really make any change in the first load right now so I can afford having that extra request :D