I wrote a post sometime back regarding optimization of PHP websites, this knowledge was picked up from some online course(all credit to the author ).
I was making notes as I was going through it and put is “as is” on the post.
So the best way to understand anything from it would be to use Google for the keywords mentioned in the post.
Had been pretty useful.
Here is the Link