Louwtjie-

  In a word: "Speed".

  Lets say that you have a PHP page generating semi-dynamic content (only
changes significantly once a day).  The dynamic generation process is always
guaranteed to be up-to-the-minute, but it takes some amount of time to
generate (search through the database, format the data, maybe collect data
from other pages to use locally).


  On a site with 1000+ hits per day (or worse 1000000+ hits/day, yes I've
worked a site like that), the difference between loading a static page
(typically less than 1 second) vs. loading a dynamic page (5+ seconds isn't
uncommon, some pages can push several minutes) becomes HUGE.

  Even if the content is more dynamic than once-per-day, going to an hourly
'compile' speeds things up greatly.

  As a case-in-point.  The PHP.net online manual is "built" rougly once per
week.  In this case, the "build" process is generating .php pages from .xml
data.  The amount of work *done* by the resulting .php files is still
dynamic content generation, but it is miniscule by comparison to the amount
of work which would have to be done to translate the .xml documentation
sources to viewable HTML.  You can actually download the entire compiled
manual (using a 56k modem) in less time than it would take to build it from
sources on a 1GHz PC.

- Pollita


>=======Original Message==========
"Louwtjie" <[EMAIL PROTECTED]> wrote in message
000901c2d87c$3b54e940$3300a8c0@WinXp">news:000901c2d87c$3b54e940$3300a8c0@WinXp...
I agree with the solution offered, but I'd love to know why one would want
to extract info from a database to a HTML page and then archive it *again*.
Please note I am not being an Ogre here. I would just really like to know.

Regards,
Louwtjie Taljaard



Services:
* IT Security Consulting
* Systems Management
* Systems Administration
* HP / IBM / Sun / SGI / Cisco Operations
* Software & Web Presence Development



Looking for love in all the wrong places?  Meet your ideal match at
http://www.datingbuzz.com/s/a/341








-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to