Does php will make an website slow..? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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..?

9th Nov 2018, 7:50 AM
Daradakumbura
Daradakumbura - avatar
4 Answers
+ 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.
9th Nov 2018, 8:33 AM
Taste
Taste - avatar
+ 3
Taste Thank you for ur reply. how fast code mean.. less code make a program faster right..?
9th Nov 2018, 8:36 AM
Daradakumbura
Daradakumbura - avatar
+ 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.
9th Nov 2018, 8:41 AM
Taste
Taste - avatar
+ 3
🤔🤔🤔
9th Nov 2018, 8:43 AM
Daradakumbura
Daradakumbura - avatar