Blog

Setting Expiry in Redis

This is a short article that features a video on Setting Expiry in Redis. So, we will learn how you can set an expiry time to your Redis keys. What is Redis? Redis is an open-source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. It is highly reliable, scalable, […]

How to cancel a fetch request?

Ever wondered how to cancel a fetch request in your web application. There’s good news, we can finally abort HTTP calls made using fetch from our applications. In this article, I will cover how to abort or cancel an HTTP call made using fetch(). I will also walk you through a sample example with details. […]

Useful Redis Commands for beginners

Redis is an open-source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. It is highly reliable, scalable, and has high availability. In this article, we look at some useful Redis commands for beginners. Redis can be used to cache content . For eg. — database queries that are supposed to be […]

Important MIME types for web developers

Mime types define the format of a document that you will typically encounter in web development. In this article let’s look at a few important mime types for web developers. What does MIME stands for? MIME is the short format of Multipurpose Internet Mail Extension. It is an RFC standard that defines the format and nature of […]

Timeouts in Fetch calls using Javascript Promises

Let’s see a quick example of how to have timeouts in fetch calls using JavaScript promises. By default the fetch() API does not have built-in support for timeouts. So we will build our custom solution in this example. Why do you need timeout? Well, it is a good idea to have a timeout in your […]