Quantity not matter but quality matter. High quality sites & unique content help to become top in Google.
Optimize Images. Optimize CSS Put JavaScript at bottom. Avoid CSS expressions. Minify JavaScript and CSS. Remove duplicate JavaScript and CSS. Configure entity tags (ETags). Reduce the number of DOM elements. Reduce cookie size. Do not scale images in HTML. Make JavaScript and CSS external. Combine external Javascript scripts. ..... you can check all on howtooptimizesite.com or webpagetest.org ..
On page, SEO includes guaranteeing that the structure of the site amid the improvement procedure maintains the rules utilized as a part of current times by the majority of the web crawlers.
There are literary tons of things you could do on-page, and in this case remember that Google also says make it for the user not the search engine. So do not sacrifice a good read for search engines, at the end of the day if you have high bounce rate you are not converting the traffic you are getting so there is no point. There must be a balance between your optimisation strategy and the user friendliness of your website.
followings are some essential on page work : Meta title, keyword and Meta description Heading tags Alt tag canonical url and robot.txt check HTML error, css error and broken link Mention 'nofollow' check mobile responsive and speed Add sitemap Check web page content as well as keyword stuffing in content Image optimization
For on-page optimisation I like to focus first and foremost on my content and let Yoast SEO do the rest of the work for me!