PHP performance considerations?
问题 I'm building a PHP site, but for now the only PHP I'm using is a half-dozen or so includes on certain pages. (I will probably use some database queries eventually.) Are simple include() statements a concern for speed or scaling, as opposed to static HTML ? What kinds of things tend to cause a site to bog down? 回答1: Strictly speaking, straight HTML will always serve faster than a server-side approach since the server doesn't have to do any interpretation of the code. To answer the bigger