How to set up a Cookieless Google Analytics website

February 1, 2021 • 5 minutes read

There is a lot more awareness on privacy these days and quite a few solutions that are cookieless. Google Analytics is notorious for using Cookies, but did you know that you can actually configure it to be Cookieless as well? This post has everything you need to get started.

Adding SEO to Single Page Applications with Rendergun

November 5, 2019 • 6 minutes read

SPA and SEO are two acronyms that don’t fit well together on the same sentence. Even though Google is able to crawl and index client-side rendered websites since 2015, there are a few reasons why this is not yet recommended. On this post I’ll take you though an alternative solution on how to make a SPA page SEO-ready using a technique called “Dynamic Rendering” and an open source project called Rendergun.

Using Azure Container Instances to measure performance of a website from multiple locations

February 10, 2019 • 14 minutes read

Measuring the performance of a website from multiple locations around the world is crucial with the current global scale of the internet. In most cases, your visitors are not only based in your home country but from all other countries too. From Canada to Australia, from Chile to Russia, your website is being visited by more people than you think. There are a number of paid services that allow you to constantly monitor your website performance from multiple locations around the world. But maybe you're a geek and you want to do it yourself?

Using Azure Blob Storage as a cache backend for Go acme/autocert

December 21, 2018 • 3 minutes read

By default, acme/autocert stores provisioned certificates on local disk for long-term caching. What happens is that the next time an user visits the same page, this package will fetch the certificate from the local disk instead of provisioning a new one. But what if your service is deployed across multiple machines? How do you ensure that all services are using the same cache? Come along and see how to solve this problem.

How we reduced our initial JS/CSS size by 67%

November 26, 2018 • 10 minutes read

We have been working on reducing the amount of bytes that we send to all Fider users. Being a web application built with React, we have focused on JS and CSS. On this post we share our learnings, some concepts and suggestions on how you can do the same with your web application.

How to retry when React lazy fails

November 16, 2018 • 2 minutes read

React 16.6 has been released and it's now easier than ever to do code split within our React applications by using the lazy function. After a few days monitoring a production application that is using lazy, I noticed a couple of client-side errors when downloading asynchronous modules. Learn how to mitigate this.

Free and Automated SSL/TLS Certificates with Go

November 8, 2017 • 7 minutes read

HTTPS has become a must nowadays. Not only for its security purpose, but also because search engines like Google are giving better rank to websites that run on a secure protocol over those using plain HTTP. It's 2017 and gone are the days that we could use the price as an excuse to not have HTTPS our our websites. Learn here how to generate SSL/TLS Certificates fully automated and free on Go web applications.

Session per Request pattern in Go

June 20, 2017 • 10 minutes read

There is a particular pattern that is very common in C# and Java, but is hard to find any mentions about in the Go community. The pattern is called Session per Request and is particularly useful to decouple business components from database transaction management. This post will drive you through what it is, how to implement, pros/cons and some examples written in Go.

Server side cache with Go

March 18, 2017 • 8 minutes read

Go is fast and everyone knows that. But how can we make it ever faster when running web applications on it? On this post I'll try to cover how can we achieve an even better response time for web applications using server side cache, because you know, performance IS a feature and I don't know anyone who enjoys spinning wheels.

See the archive for more posts.