Its aleged that websites with php pages delivered faster than html? Is it true? I thought that it would be the other wa around. Can you point me to a link explaining?
Printable View
Its aleged that websites with php pages delivered faster than html? Is it true? I thought that it would be the other wa around. Can you point me to a link explaining?
Well thats what I though - with php some processing is being done but with pure html it isn't - I thought I was just missing something . . .Quote:
Originally posted by chrisjk
It can't be faster, the PHP preprocessor has to do it's job. It may be fast, but it's not so fast that it does it in 0 milliseconds.
Scripts output HTML usually anyway
If PHP caches scripts in memory versus reading HTML files off of a disk, it might be faster - but it's more a web server config issue than a strength of PHP. BTW, there are specialized web servers for static content because of Apache's slowness in this regard, IIRC.