Archived topic
Child theme for speed or Simple CSS and Code Snippets?
1 reply · Started by Cory on October 25, 2018
If I am trying to really optimize my site for speed, I keep getting conflicting advice on wether to use a child theme or go with lightweight plugins for the job.
Generate Press - in your opinion, would a site be better optimized to:
(1) Use a child theme for style.css and functions.php alterations?
(2) Use Simple CSS plugin and Code Snippets plugin?
(3) Use customizer CSS and Code Snippets?
Just want to put this to rest in mind. A reply is greatly appreciated.
Thanks!
Cory
Hi there,
there would be very little difference regarding performance for any of the three options especially if a cache and CSS/HTML/JS minification is in place.
I would opt for a child theme if i am writing a lot of CSS, were talking 400+ lines. Or more so if i am writing custom functions or particularly customizing templates.
For the general usage code snippets and either CSS option is a good way to go.
Theres no difference in the way Additional CSS and Simple CSS work, they both inline the styles in the head of the document. Simple CSS has the advantage that you can write page specific CSS.