Inline or separately, and loading speed issue for Functions in PHP websites | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Inline or separately, and loading speed issue for Functions in PHP websites

I would like to ask if there is deferent to put functions inside html together. or separately in file and include or required it inside the other pages. I see it's better to sperate it, then we can use it more than one time , Everytime we need them. but if it inside the html or out , has it affect on the loading of the webpage ? Is that also right to put all functions inside one file ? how it's usually ?

4th Jun 2017, 9:59 AM
Konstantin S
Konstantin S - avatar
1 Answer
0
silly question? up
4th Jun 2017, 4:42 PM
Konstantin S
Konstantin S - avatar