+ 1
Does php will make an website slow..?
I need to build an cms system and im using php with javascript and css. I heard that php make website slow than it used to. Bt build a cms php is required. So how do i make an cms with php and not make it slower..?
4 ответов
+ 3
No its not, well sort of
Why because you need the php to work first at the server before sending back the web page, in a static web no work need to be done it'll send the page you requested right away.
And note those are applied for any serverside language. The work usually pretty fast normal human would not notice it. But it's all depends on how fast your code is.
+ 3
Taste Thank you for ur reply. how fast code mean.. less code make a program faster right..?
+ 3
Not necessary, consider this line
for($i=0;$i<PHP_INT_MAX;$i++) echo $i;
It'll loop trough from 0 to maximum number that intger can take. Its just 1 line but will take much time to complete.
And client waiting time is server process time (your code to finish) + transfer time.
+ 3
🤔🤔🤔