Ask HN: What made your business take off that you wish you'd done much earlier?
1147 pointsWhat is the main thing that made your business take off and start to see success that you're kicking yourself you didn't start doing it much earlier?
Thanks HN!
Comments (466) 65 threads
Show all comments
Showing thread 5 of 65
[1] - https://developers.google.com/search/docs/advanced/guideline...
https://learningseo.io
Also, make sure that your page loads fast - especially the content that you are trying to index. Low hanging fruit like optimising image size or cleaning up your imports can have a big effect. When just starting out with little backlinks, good page speed loads can be the differentiator that will put you ahead. Use https://pagespeed.web.dev to check how fast your website loads.
To me this sounds like "code in pure HTML, no React/Angular or anything like that". Am I correct?
Also both Angular and React are not as heavy as one might expect, but 3rd-party components might bring tons of unnecessary deps.
Some things I'd start with:
Normally those things are enough to get a 85+ score on Lighthouse, GTmetrix and alike.Continue this thread — 7 replies
That's not what I meant. With optimising page speed, there is a diminishing curve of returns from the perspective of time invested and the improvement that you make.
My idea, adding to the top comment mentioning the SEO, was to make sure that you don't slow down your landing pages / content unnecessarily which might lead to less organic growth and discovery.
While I wouldn't argue that this is the most important thing that will take your business off, a fast website and good content with keywords might provide you nice boost long term.
It doesn't have to be that way though. If you want to use React, there are tools to help you easily make something like a static site generator (SSG) which will transform your React code down into pre-rendered HTML pages. Two popular ones are Gatsby (https://gatsby.dev/) and Next.js (https://nextjs.org/) which also supports Server Side Rendering (SSR).
So out of the box plain HTML / CSS might be more optimized than a fresh create-react-app repo, but if you prefer to use the toolset provided by React to build your site (or Vue or Angular, etc), there are plenty of options to make that equally performant.
I'm asking, because every time I read up on these topics, or interact with an "expert", I get the feeling, that it is one of the more snake-oiley fields around.
Additionally https://www.sitelint.com/sitelint-vs-lighthouse-comparison/