Skip to content

Fixing Webflow's load latency issues

Anh-Tho Chuong edited this page Dec 7, 2022 · 1 revision

As many startups out there, we created our website with Webflow. We want to optimize on “time spent vs output” and therefore started with an off-the-shelf solution.

Our website is pretty straightforward: a home page focusing on conversion, a blog focusing on SEO, products page explaining our feature set. We had serious latency issues with our initial website on Webflow and had to revamp it. It’s easy to spend a ridiculous amount of time and money on the company’s website, so we worked very hard to not fall into that trap. Here is what we’ve managed to do within 3 days.

Check it out here: https://www.getlago.com/ !

Problems

We created this website at the very beginning of our open-source journey. We were able to create pages “on-the-go”. Creating images was the only time-consuming action. We created this website by using a Webflow Template and adapting it to our design.

However, we quickly faced several issues.

1. Latency

Screenshot 2022-12-01 at 17 43 11 Screenshot 2022-12-01 at 17 43 26 (1)

The first problem was a major problem.

The template we were using had a “Webflow action trigger” that made the website appear “section by section”. This led to a lot of visitors complaining about the “white page symptom”. They couldn’t access the website. We worked super hard to hit the front page of Hacker News, and the website wasn’t loading. This drove us crazy as we weren’t able to replicate, either by disabling ad-blockers or visiting incognito.

On top of this, we might say that Webflow is not ideal for mobile SEO performance.

As we are currently focused on content creation and distribution, this is not a major blocker, but can be one in the future as the company grows. The main issue is that there is no option for render-blocking resources on Webflow, and it seems that [we are not the only ones complaining about this](https://discourse.webflow.com/t/options-for-render-blocking-resources/168978).

As you can see, the website’s performance on mobile is still not ideal (First Contentful Paint and Speed Index are too long), but we cannot do too much about it.

The performance on the web version are impressive though.

Webflow - Performance bad

2. Growing site, growing inconsistencies

Webflow keeps all the unused classes in the main css file, even those that has never been used. As we’re 3 or 4 people collaborating on the website, we quickly had classes everywhere, and everyone was able to change/adapt them. The following meme explains it all 😂

Webflow - Gif CSS

On top of that, we weren’t deleting the unused images, so the site was heavier than ever.

The solution

We decided to revamp our website to increase performance and maintainability. Our Founding designer, Mike, took the lead on this with a short brief from us:

  • Do not take more than 3 days to build it. We need the team to work on the product, not the website;
  • Do not switch to another CMS, unless it’s really necessary. Webflow is not perfect, but is good enough for our stage;
  • Don’t rebrand it. We’ll work on this later;
  • Find a solution for the problems listed above.

Yes… we must admit that’s an ambitious and fluffy brief. Sorry, Mike. Anyway, he decided to take on the challenge, fearless of the deadline.

Day 1: Tabula Rasa

He approached the situation as a product feature and decided to throw away the initial template, to start from a blank page. Every startup should be able to junk something that is not working.

By starting from scratch, we ditched latency issues. Problem #1 was solved.

He decided to rebuild the website on Figma first, with reusable components that were easy to maintain. He spent about 1 day to list the current situation, do a quick benchmark of awesome websites, jump on wireframes and choose the final design, after gathering feedback from the team.

Webflow - Figma

A problem remained though, now that we ditched everything, would we have to rebuild a design system, just for the website ? We had one for [our product](https://www.getlago.com/blog/how-soon-should-you-have-a-design-system), but we didn’t want to invest as much effort in our website.

Day 2: Relume

Each time we’re stuck at Lago, we default to “Is it: 1/ a very specific problem that only Lago has, or 2/ does the majority of startups face them?”

We were obviouly in the 2nd case. After a few intense hours of googling, and asking around within our community, Mike found a potential solution: [Relume](https://library.relume.io/).

It’s actually the world’s largest library of Webflow components, but we had never come across it.

It enabled us to have a master file to run all components with dedicated classes, adjusted to our own design.

Every time we need to change a space, a font or a color, we touch this master file, not the page itself.

We can even add components ad-libitum. Problem #2 was solved. Webflow - Relume 1

Webflow - Relume 2

N.B.: Relume is a 5-people team with a huge community, built out from Australia, and we've been super impressed by the product and the team so far!

Day 3: Adjustments & Migration

We spent the last day adjusting the Relume components, iterating on the copy, and migrating the content from the old website to the new website.

Webflow “migration” features are awesome to move content from a workspace to another, more info here.

Here is how our website performs on mobile now! Webflow - Performance good

I’ve always dreaded working on the company’s website because it can be a very long project, and the ROI is always to be proven. Thanks to Mike’s work and his product mindset (and fantastic problem solving skills), we found a sustainable recipe to build and maintain our website, and make it grow as a “living entity”.

Check it out here: https://www.getlago.com/ !