4 ms·
It's true, that with static sites you're better off without any JS. It's pretty much how I've built https://discoverdev.io https://discoverdev.io It's powered
by deepakkarki 8y ago
It's true, that with static sites you're better off without any JS. It's pretty much how I've built https://discoverdev.io https://discoverdev.io
It's powered by a home grown static site generator framework. Hosted on Netlify. Works fairly fast even random corners of India. But then I found my own generator limiting and surveyed existing frameworks - decided to go with Gatsby - a ReactJS based SSG. To my surprise Gatsby+Netlify worked much faster and smoother than my JS free solution! It's currently running at https://beta.discoverdev.io https://beta.discoverdev.io
Worth noting that Gatsby generates pure html+css during build time, and page renders fine without JS enabled. Seems to be a good balance between DevX and UX. :)
- _eric 8y agoMinor thing I noticed on your site: a clean load is requesting around 425kb of data, but your /assets/img/dd-logo.ico alone weighs 362kb. Same thing happens in your new site. Maybe it's something to look into, reducing the size of it should make your site even faster.
- deepakkarki 8y agoOh thanks, I didn't notice :) I guess I can compress a lot further, given it should be a tiny (34x34?) image anyway!