[prog] Using PHP to create the static part of HTML pages

Dan dan at cellectivity.com
Tue May 10 19:10:27 EST 2005


There is a considerable performance hit if you use PHP rather than flat
HTML files. But don't worry about it unless you actually notice that
performance is bad. Many web sites that could be static are dynamically
generated, simply because it's easier for the maintainer and the server
can handle it.

There is another option, just for your information. Some very
high-volume web sites use dynamically generated flat files. In other
words, the whole web site is regenerated once an hour. This is more
difficult to set up, but it is easy to maintain and still
high-performance.

-- 
  If you look at too much HTML code you'll go blind.
       - Jim Greenly, professor at Georgia Institute of Technology




More information about the Programming mailing list