Drupal 10 upgrade and readiness
abhai 20 November 2022As Drupal 8 and Symfony are approaching EOL and with the many improvements Drupal 10 is promising, it is time existing Drupal sites start preparing for a smooth upgrade to Drupal 10 when it is made available in December 2022! Let's see what's new and how to upgrade/migrate to Drupal 10.A CDN cache warmer in Rust
abhai 15 November 2022While using CDN caches like Cloudflare or Akamai and even for http caches like Varnish, it is important to "warm the cache" after deployments when the caches are usually cleared. This means sometimes manually loading up all the important pages for the first time so that it is loaded into cache. What if this could be automated through the sitemap using a simple CDN cache warmer.Drupal security best practices
abhai 2 November 2022I was recently looking certain random things for all Drupal sites that I know to see what information I can get from these sites and I was surprised to see that many of them do not have the basic Drupal security recommendations done. For example, I could tell the exact Drupal, PHP and Nginx versions in many cases. Some of the sites were on Drupal versions that were vulnerable. So I decided to write a checklist that if followed exactly will take care of at least the recommended best practices.Dummy image generator
abhai 8 August 2022Generate dummy images to use as placeholder in your dev, test, stage sites, web design etc.Use cloudflare to speed up your Drupal site and save money
abhai 26 June 2022If you're running a small Drupal site on limited space like I am, you'll probably not have more than 30 GB for hard disk space and maybe 2 vCPU and 2 GB RAM on your server. This could affect your Drupal site speed if there are a lot of images or even with time as the content grows, you'll have server load issues. I've optimized my site so much that the performance is 98-100 on most pages and still able to sustain a viewership of 250 - 500 views per day without the server freaking out.Tags
Generating placeholder images: Putting my love for photography and Drupal together
abhai 19 June 2022It's been too many years since I've been dabbling in photography and even though I've clicked a million pictures, what comes out, is a fraction of it. Finally, I've put two of my passions (photography and Drupal) together and created something out of it.Tags
20 must have drupal modules for your Drupal website
abhai 24 April 2022Drupal modules are extensions that can be enabled to provide additional functionality to your Drupal website. Because of the awesome community of Drupal developers, we have so many excellent Drupal modules contributed by them that we just cannot do without!
How to increase productivity as a Drupal Developer
abhai 24 April 2022These are few things I picked up and still learning on my Drupal development journey that made my life easier. I love the architecture of Drupal but do find sometimes the amount of code to write, effort and learning curve a bit tedious. But these are all solvable issues. And I have solved them (more or less). Here are some tips for the same.
Tags
New Drupal module: checkpost
abhai 12 January 2022Create a node js websocket and secure it with let's encrypt
abhai 28 December 2021This article basically describes how to create a node js websocket and secure it using let's encrypt. Because the wss differs from https, it's slightly tricky to do this directly on the node js server directly using self signed certificates which is why I'm using nginx in front of it.Tags
Why I decided to use Scaleway to host my Drupal website?
abhai 7 May 2021This website https://abh.ai has been hosted on almost all of the major players in the cloud hosting business. I started out with Scaleway around 7 years ago when they were providing these small ARM options with 20GB SSD. It was the cheapest solution back then costing less than 5€. But that doesn't mean it wasn't a good solution. It was excellent! It was fast and reliable. But because it was ARM and at the time a 32-bit processor, many things like docker could not be properly installed. This is why I decided to look for alternatives, which eventually brought me back to Scaleway!Setting up dev servers at home with Raspberry Pis
abhai 16 March 2021This is a personal project of mine that has excited me a lot. I have always been obsessed with Single Board Computers (SBC) and the amazing things we can do with them. One of the most popular SBC is Raspberry Pi. They have pioneered the hardware and software capabilities for SBCs. Now we can run an Ubuntu server on any Raspberry Pi device. With Raspberry Pi, you can easily set up a server cluster at home and even host your own website, provided you have a strong internet connection and uninterrupted power supply.