I’ve got some tip for developers this time. PHP developers to be specific. I won’t be talking too much about it. But here are the highlights
PHP is a very popular scripting language, used on many popular sites across the web. In this article, we hope to help you to improve the performance of your PHP scripts with some changes that you can make very quickly and painlessly. Please keep in mind that your own performance gains may vary greatly, depending on which version of PHP you are running, your web server environment, and the complexity of your code.
- Profile your code to pinpoint bottlenecks
- Upgrade your version of PHP
- Use caching
- Use output buffering
- Avoid writing naive setters and getters
- Don’t copy variables for no reason
- Avoid doing SQL queries within a loop
Read the article here.