I'm using a really simple and fast theme in order to reach a good speed score, so i'm not using any visual composer, but writing my own sections in pages via html
i have some sections and cta that i'd like to repeat identical around the site so i had the idea of placing the html for each block inside a shortcode and then in the pages i just paste the shortcode for them where i need em.
first of all, is this a ok practice?
secondly, in terms of page loading speed is it ideal as i did to create these shortcodes (which will inject html in the dom basically) in my child-theme function.php or should i create a plugin with all the shortcodes instead?