undoIT
New Member
How much server overhead there is when PHP if statements are evaluated, i.e. memory consumption and CPU usage? I've searched around and didn't find anything that definitively answered this question.
For example, if I have a WordPress blog and use a lot of if statements for each post summary on the home page, is this going to require a lot more server resources if the home page starts getting high traffic? And on pages where many posts are listed (i.e. category pages) , it seems like this could become an issue.
Or, is this something I shouldn't even be worrying about?
For example, if I have a WordPress blog and use a lot of if statements for each post summary on the home page, is this going to require a lot more server resources if the home page starts getting high traffic? And on pages where many posts are listed (i.e. category pages) , it seems like this could become an issue.
Or, is this something I shouldn't even be worrying about?