Hi, I will try to explain.
Users upload a 100kb file to their server.
It is a script with a PHP header, a PHP bottom and a body contains 100kb of plain text.
In the PHP header the page load time is set at 0. As soon as the bottom of the page is reached on a load in an internet browser the PHP script at the bottom knows how fast the bottom was reached. The time it took to load is reported to our speed project.
On Zend optimized servers the time to reach the end of the file is 100-fold to 1000-fold faster than on a server with regular PHP.
My questions are:
- Is the result with Zend the real page load time or is it just reporting the time it takes to execute the PHP script.
- Does Zend preload the complete file and then execute it?
- If it is the page generation time, how can I force the PHP script to withstand this preload?