Life runs on code

Optimization

A good article on wp_kses Performance

A good article on wp_kses Performance

https://www.tollmanz.com/wp-kses-performance/

How to add Swap on ubuntu

How to add Swap on ubuntu

https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04

PHP profiling using webgrind and Xdebug

PHP profiling using webgrind and Xdebug

Install xdebug sudo apt-get install php5-xdebug Then update config Add following line in /etc/php5/fpm/conf.d/20-xdebug.ini xdebug.profiler_enable = 1 xdebug.profiler_output_dir = /tmp After that please restart php5-fpm sudo service php5-fpm restart Load page you want to optimize It will take time (If its taking too much time […]