José M. Pérez

José M. Pérez

Engineer at Spotify and GDE in Web Techologies.

Optimizing Spotify's Logo in SVG

This post explains different ways to reduce the paylod of SVGs. I will use Spotify’s websites and logo as an example.

Spotify SVG logo showing its arcs and points

Continue reading about Optimizing Spotify's Logo in SVG...

PiterCSS 2018

A few weeks ago I attended PiterCSS, the first international front-end conference in Saint Petersburg, Russia. There I gave a talk about creating a performance culture, based on the blog post I wrote recently. You can find the slides online.

Speaking at PiterCSS about Forstering Web Performance Culture

Continue reading about PiterCSS 2018...

Fostering a Web Performance Culture

Web Performance is not only about understanding what makes a site fast. It’s about creating awareness amongst both developers and non-developers. Performance is a feature and needs to be prioritized as such.

Forstering Web Performance Culture

Continue reading about Fostering a Web Performance Culture...

Increase the Performance of your Site with Lazy-Loading and Code-Splitting

Componentization has marked a before and after in web development. The main advantages that are usually mentioned is reusability and modularization. Well defined pieces that we can use to build our sites, like bricks of Legos. It turns out this component structure provides a great foundation to improve the performance of our sites.

We are explicit about our dependencies, so we know what code we need to run to run a specific component. Lazy-loading and bundle splitting can have a huge impact on page performance: less code requested, parsed, and executed. And this not only applies to JavaScript, but every type of asset.

I see many sites that could take advantage of this, and I wanted to show how some basic techniques to load content as needed.

Continue reading about Increase the Performance of your Site with Lazy-Loading and Code-Splitting...

Displaying Page Load Metrics on Your Site

I was browsing Tim Kadlec’s website and I noticed he had added page load time metrics in the footer.

Tim Kadlec's site shows how long the page took to load in the footer Tim Kadlec’s site shows how long the page took to load in the footer.

Stoyan Stefanov also realized and wrote “This page loaded in X seconds”, a blog post describing the code used for this. Stoyan also created a bookmark that shows an alert with the load time of the current page. The data is obtained from window.performance.

I liked the idea and added a similar snippet that shows the page load time in the footer (you should see it if you scroll to the bottom). If your browser supports the Paint Timing API you will see a couple of extra metrics: First Paint and First Contentful Paint.

Continue reading about Displaying Page Load Metrics on Your Site...

Sketchy SVGs with RoughJS

I love hand-drawn graphs and I have always fantasized about applying it to vector images. That’s why I was very happy to find out about RoughJS, a library that draws SVG primitives like lines, curves, arcs, polygons, circles, ellipses and paths on a Canvas in a hand-drawn style.

Continue reading about Sketchy SVGs with RoughJS...

Choosing a Platform for Blogging

Or why no single platform is the best one.

As a web developer I consider my personal website part of my portfolio. It’s the canonical site where I write about the topics I care about. It helps me remembering ideas and resources. It also gives me a public presence on Internet beyond LinkedIn and Twitter.

But It’s not only about the contents. It’s also about how they are delivered. My blog is my playground, a space where I can play with browser APIs and put in practice ideas about accessibility and performance.

Continue reading about Choosing a Platform for Blogging...

My 2017

This year has been a ride. More blogging and speaking at events than ever, and the feeling that it was well worth it.

Continue reading about My 2017...

Speaking at FrontFest 2017 in Moscow, Russia

A couple of weeks ago I attended FrontFest 2017 in Moscow. There were around 200 attendees at Digital October, an impressive venue. I had a lot of fun and met many local developers.

Jose M. Perez speaking at Frontfest Moscow 2017
Continue reading about Speaking at FrontFest 2017 in Moscow, Russia...