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.
Latest posts by Parvez (see all)
- Bootstrap Data Table – Sorting, Pagination and Filtering Table - December 18, 2014
- textAssist – Smart Auto Text Assistant jQuery Plugin - December 15, 2014
- jQuery Timer – jQuery Pretty Timer Plugin - December 11, 2014