mdyd-dev / platformos-blog

MIT License
0 stars 2 forks source link

Performance low hanging fruits #6

Open pavelloz opened 5 years ago

pavelloz commented 5 years ago

To get a lot better score here: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fcdbc1ed0c0577b108d5fb8c03b1546ee.staging.oregon.platform-os.com%2Fblog%2Fpost%2Fblog%2Fgetting-started

I think couple quick operations can be done, that ive tested on our blog before with great success:

1) Remove social-links - downloading facebook sdk will probably do 50 -> 80+ AND it will move time to interactive from 8 seconds to around 2. I 2) Build assets in production mode using webpack so that js and css are optimized and minified

Those two points should present around 90-95 points in pagespeed, like here: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.platformos.com%2Fblog%2Fpost%2Fblog%2Fa-complete-guide-to-liquid-markup-in-platformos

lemingos commented 5 years ago

Thanks @pavelloz, point 2 was already done by @chrisdanek in DCU project so if you have time feel free to integrate.

pavelloz commented 5 years ago

I dont want to get involved, after reading readme and looking at the environment (and zip files in the repo) i dont want to break anything, especially that i dont know DCU or this project.