Right after creating my first WordPress plugin, Auto Maintenance Mode, I came across a situation on a high-traffic blog where the visitors just rush to the website immediately after a blog post is published and shared (automatically) via social media. It created chaos in the server and the initial visitors didn’t get the cached version of the blog post, because it wasn’t even ready.
Continue reading “Introducing Preload Fullpage Cache”
It isn’t uncommon to see freemium plugins in the official WordPress repo. The basic functionality of the plugin would be free. Some fancy features would come with a premium price. There is nothing wrong with such business model. What’s bad (business model) is switching the free features into paid features without notification. How does it feel if WordPress Foundation started charging a small fee to use the theme customizer?
Continue reading “WordPress Plugins and Themes – Bad Business Practices”
It’s 2017. I started using linux in 1999. Yes, I am getting older and older. I have always used apt-get on Debian based servers or distributions. However, in recent times, I am getting more frustrated to use apt-get. To be precise, I may want to install a package. So, I start to type apt-get. Then I may be unsure, if the package by the exact name exists. So, I tend to search the package/s, instead of installing it. Now, I have to use apt-cache to search packages. Sigh!
Note: Now we have apt to solve the above frustration!
Continue reading “Aptitude or apt-get?”
What Is Cron?
In simple terms, cron is a job scheduler in unix-like operating systems. It is also called as system cron or OS cron especially if the discussion is also about WP Cron. The job can be anything that needs to be done at a particular time. The job could be an one-time job (such as launching a rocket at a scheduled time) or repetitive (such as turning the lights on upon sunset and turning them off upon sunrise, every day!). Basically, the system cron is a program that runs all the time just to trigger a particular action at a particular time. You can throw hundreds of tasks on it to do at various intervals. System cron is like robot who is always available at your service!
Continue reading “Crooky Cron”
WordPress Object Cache system allows transients to be stored in object cache backend, such as APC, Memcached or Redis. Without an object cache, the transients are stored in the database itself. This is the default. You could verify this yourself by looking at the (wp_)options table in the database. Fortunately, we have options to store these transients in the memory using one of the backends mentioned above. Among these, Redis has become stable and is production-ready. There are two WP plugins available that use Redis as WP Object Cache. First one is Eric Mann’s plugin. The second plugin is by Till Krüss who forked the former and made it better.
Continue reading “Recommend Settings for Redis Object Cache Plugin”
TwentySeventeenIf you are just starting to develop WordPress theme, it couldn’t be a better time to start. The web contains numerous links to very detailed tutorials on how to start WordPress theme development from scratch. However, most of them use outdated practices. The WordPress evolves all the time.
Continue reading “Child Theme on WordPress 4.7 Onwards”
My first blog post was written way back in 2011. Since then, I have written only 33 articles (excluding this). Considering, I always keep a (physical) diary of events and thoughts, it is nothing but a low volume blog. This year, I wish to write more. So, I will be participating in 52 Week Writing Challenge. I already have a few ideas in my mind to start with.
Continue reading “Wish List 2017”
Often, I create a development site, such as dev.example.com, test.example.com or staging.example.com, before making any change in the production site. I even have a dedicated server to host the dev site of all my clients. If you don’t have a development site on your own, please do create it. It’d save you a lot of time in the future. Your production site might become overnight success and you can’t afford to tryout important changes in the production site.
Continue reading “Automatic Maintenance Mode”