[ad_1]
I am learning about WordPress and using PHPStorm to get a feel for things. I looked at the speed of loading and decided to set a breakpoint at ‘define( ‘WP\_USE\_THEMES’, true );’ in index.php. That’s when I noticed that loading the home page hits ‘define( ‘WP\_USE\_THEMES’, true );’ 3 times.
Why? I thought index.php was loaded only once.
[ad_2]
Does your homepage load any JavaScript or images or anything else like that that maybe aren’t there? The index is the fallback position. When things don’t usually exist. Examine the home page, and see what loads in the sources tab of the inspector.
[removed]