Archived topic
Speed performance
1 reply · Started by bestmarketingbg on July 4, 2019
Hello Generatepress,
I am wondering how it will be faster for adding some custom php (speed optimization, not the required tools, dev skills, etc.)
I found this article in the knowledge base : https://docs.generatepress.com/article/adding-php/ , where you describe three options:
1. Using a plugin
2. Creating a plugin with a plugin :)
3. using childtheme
I really prefer to work with less plugins as I can. But which one will give me better speed score from the three options above.
Thanks in advance.
Hi there,
The speed should be similar as code is code - doesn't matter which way you are adding them.
If you are adding more than 20 custom functions then I would recommend using a child theme.
Should be similar performance-wise if not.
You can always try different methods and run your site through speed test to see if you notice any differences at all :)