- As 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.
- While 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.
- I 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.
- If 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.
Drupal 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!
These 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.
- This 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.
- This 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!
This 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.