I have a page that uses include() statements to include a long series of text files; my question concerns processing time. The page file itself is small, say 1kb. The included text files are large, totalling say, 100kb.
Since the page file itself is only 1k, I know a server loads it fast. I also know that php processes the include script fast (I ran a microtime() test on it: .1 sec).
Does this mean that the whole page, with all the included text, displays to the user in about .1 seconds? Or does the server still need time to load the 100k text (say 5 secs on a dial-up connection).
Seems like it should; is this how it works?:
1) source page loads (.001 sec)
2) php processing (+ .1 sec)
3) server request (+ 5 sec)
Total: 5.101 seconds
I don't have a dial-up connection, so I can't do a real-time test, and various web-based tests give conflicting results.