If anyone asks me what's your lifetime goal, I'd say it is to live with Healthy Body and Healthy Mind. Healthy body is easy to measure. Healthy mind isn't easy to measure. In order to measure something, there needs a definition. Healthy of the physical body can be defined to some extend. Body weight. Eye … Continue reading HBHM
I really miss writing posts about topics that aren't related to WordPress performance or web performance, each has its own website! There are too many such topics... life politics privacy security Of course, I will write some technical articles, too. For example, solutions for BSNL broadband users without port 22 fits well here than at … Continue reading Back to blogging!
I started to write my random notes on a dedicated site at TinyWP.com . I also run TinyWP.in to write about WordPress performance. So, I am unlikely to maintain this domain going forward. But, I will keep this as long as I can, as it helps myself to refer some of my old notes from … Continue reading Moving on
Often, I search for a function, most likely a wordpress function, within the PHP files. It is usually done within wordpress themes that contains a few other files too, particularly minified CSS file that results in seeing the entire minified CSS file in the output of the search result. This is pretty annoying to say … Continue reading Find in PHP files
I have been using ewww for years. While running a Google PageSpeed Insights test for a client's site, I noticed several images aren't up to the mark. EWWW said it's compressed. So, downloaded the optimized files from Google PSI and compared with the original images. ImageMagick has a nice command line utility called identify that helps to find the … Continue reading PSI – How to Optimize Images
Updating to a new OS has always been a pain for any OS. Mac is no different. A couple of days ago, updated the mac OS from OS X El Capitan (10.11) to macOS Sierra (10.12). Mostly the update seemed okay. However, I did receive a few hiccups after the recent update. Here's the list … Continue reading macOS Sierra Errors and Fixes
If you don't use ".user.ini" file (or if you don't know what it does), disable it to improve the performance of PHP processes!
Php-fpm pool configuration contains 400+ lines (for example in Ubuntu 16.04). In reality, we may use only about 20 lines or less than 5% of the file. The original configuration file contains lines that explains what each config does. It is good practice to have inline documentation. In certain cases, we may want to know what lines are … Continue reading Display Active Conf in php-fpm pool
References: Ensure systemd services restart on failure by Jon Archer php-fpm systemd unit with auto-restart by Juan Luis Boya García systemd Project Web Page systemd is a system and service manager that runs as PID 1 and starts the rest of the system and services. The main command used to introspect and control systemd is systemctl. Basically … Continue reading systemctl automatically restart service
If you use mac OS and if you think you might run out of disk space at some point in the future (everybody does this), then here is a small (advanced) tip to help to optimise the space, especially if you take a lot of screenshots. I was going through the random video on youtube and … Continue reading Save Screenshots Space on Mac