Simple 6 Tips to Improve PHP Application Performance

When the application are bigger and using many resources then obviously application response time would be too more and end user can wait for log time to get response from application, that is not good for end user as well as for application.
Here we will discussed some points, how to improve web application performance, There are some simple things which must be in developer mind , when he is developing application.
Using the below action we can have significant positive impact on application performance. However, these are very strong point to improve application performance but These can also be a drawback depending on how your application is built.

Simple 6 tips to improve PHP application Performance

1- Add js file into footer: Normally we uses js file in head section of application, but some time js file loading time is more and application is waiting for load js file finally result performance down.
2- Used memcache or APC cache module for caching features in application.
3- Add index in database as per your update/search SQL.
4- Use persistent connection for MYSQL.
5- Avoid unnecessary variable initialization: Normally developer first assign result to variable and then echo/return variable, another way we can directly echo/return.
6- Unset variable if it’s not using more in application.

The following two tabs change content below.
Hi, This is Parvez Alam from India. I am software developer with 6 years’ experience in web development. I have submitted articles on PHP, Mysql, Magento,CSS, HTML, jQuery, web designing and social API. You can subscribe to my blog via RSS/Twitter/Google plus and Facebook. parvez1487(at)gmail(dot)com

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>