Like I don't have a lot of php files calling functions in each other like WordPress & bbPress but only a couple of files which handle all the traffic. What would you do in order to optimize it?
How would you optimize this sorta problem?
(3 posts) (2 voices)
-
Posted 11 months ago #
-
@Kase
There are lots of ways in which PHP code can be optimized. Optimization mainly includes reducing the database queries to a limit and using alternatives of the code which runs faster (obviously this varies with the need). But the way you have emphasized on the files, it got me think that we can gain a large boost in the performance by not keeping the php files on HDD so as to save HDD access as its the slowest component of computer. Instead keep the php files in RAM by creating a virtual container. I have never done it though (only read about it) but its pretty obvious that the performance gain will be large.Posted 11 months ago # -
@Ashfame
You got it! Nice ;)Posted 11 months ago #
Reply
You must log in to post.