Every developer has a favorite IDE. I do as well. (I’ll reveal my personal favorite at the end of this article 😃)
How do we choose which IDE is best for development? Well, the features of an IDE do come into play for this choice. But all in all, it sums down to a very subjective choice of each developer’s preference.
With the increasing adoption of Service Workers, many tools and libraries emerged to improve developer productivity. Out of these, one such library is Workbox.
Workbox brings all the best Service Worker creation practices into a single place while removing typical boilerplate work. Besides, you can use it in three different ways.
For example, take a look at the condition below.
Page load time has become a crucial indicator of user experience that’s even considered by Google as a core web vital for its ranking algorithm.
Caching is certainly one of the most important elements for page load optimization. However, improper use of it could lead to other problems.
This article will help you understand why setting up caching for websites is essential and make you aware of the common pitfalls. At first, let’s explore the benefits in detail.
With caching, data retrieving gets faster since it limits the need for full network roundtrips. …
Imagine a scenario where you need to build an e-Commerce application using microservices. You may have microservices for Customers, Orders, Products, Shopping carts, etc. The microservices will exposes APIs to be used by the frontend.
However, the data returned to the frontend by the Microservices may not be formatted or filtered according to the exact way the frontend needs to represent them.
In that case, the frontend needs to have some logic on its own to re-format these data. Having such logic in the frontend will use up more browser resources.
In a situation like this, we can use a…
Axios is a powerful promise-based HTTP client used to make requests to external servers from the browser. If you are a front-end developer, you might already be using this technology.
However, Axios provides a range of advanced features not known by many. Therefore, this article will focus on these features to increase your awareness of its true potential.
This particular feature of Axios is widely spoken about. Therefore, I won’t be doing a detailed explanation. …
Images add color to an application. However, as we all know, having a lot of high-resolution images affects the page load time. For images of products, scenarios, and so on, we have no option but to include these images and optimize the application by caching them. But if you need a geometric image in your application, you don’t have to include it as an asset anymore.
You can programmatically generate geometric images on the fly using the CSS Painting API.
Let’s find out what this API is and how to generate an image using it.
The CSS Painting API enables…
In the early days of the Internet, web applications were built around HTTP requests triggered by user interactions. With the advancement of technology, the requirement for real-time data transmission and two-way communication emerged. It was a requirement for low-latency applications such as,
The solution was WebSockets. With its wide acceptance, many libraries emerged to simplify its applications. Consequently, many of us started using the technology without knowing the internals, leading to inefficiencies.
Therefore, this article attempts to cover the essential attributes of WebSockets to reduce…
Have you come across a situation where you need to loop through a list, but the task took so much time, that you gave up on it?
Well, I have experienced incidents as such while carrying out computationally heavy operations in my applications. Sometimes it affects the stability of the program by crashing and hanging in the middle of the process.
Iterators improve efficiency by letting you consume a list of items, one at a time, similar to a stream…