[3W1H] Explaining The WordPress Loop in Detail

This is an article explaining the 3W1H of the well-known WordPress Loop(abbr. as the Loop). Tbh, not all of the 5W1H is suitable in explaining tech terms. So I removed the Who and Where from it. 5W1H is generally a good tool and starting point in understanding something more thoroughly and deeply. So, let’s getContinue reading “[3W1H] Explaining The WordPress Loop in Detail”

Setting HTTP Cache Headers at server-side (PHP+Apache)

Recently I was trying to debug a WordPress site. I notice from the response headers on the pages, most of them have a “cache-control: max-age=600, public” header. Since I’m constantly changing code on certain pages and would like to see immediate effect, I decided to change the cache-control header to “no-store, must-revalidate”. In the functions.php,Continue reading “Setting HTTP Cache Headers at server-side (PHP+Apache)”

How to set up a Docker Build in PHP 5.6.40-apache and MariaDB 10.3

Recently I accepted a job that had to deal with php 5.6 code. It is still using mysql_connect in its code. Since the requirements are just trivial bug fixes and minor enhancements, I have no plan to upgrade it to using mysqli or pdo. I was following this great guide written by Christian Engel, theContinue reading “How to set up a Docker Build in PHP 5.6.40-apache and MariaDB 10.3”