A Andres Hernandez
Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
172

Filtered Posts (Clear all)

Streamlining Image Handling in Astro: Embracing Native `<img>` Tags

Introduction

In the fast-paced world of web development, optimizing asset delivery, especially images, is crucial for performance and user experience. For our rifasvelez-web project, built with Astro, we recently made a subtle yet impactful change: standardizing our image implementation to favor native <img> tags by default. This shift, while seemingly minor, brought significant benefits to development workflow and potential performance.

The Challenge

Modern frameworks often

Taming the Masonry Layout: Achieving Robust Galleries in Astro

Even seemingly simple components like image galleries can present unexpected challenges when it comes to layout. On the rifasvelez-web project, our winners gallery, designed to display a dynamic array of varying-sized images, encountered just such a hurdle. The goal was a clean, organized masonry grid—think Pinterest-style—where items slot together perfectly. What we got, however, was a less-than-perfect jumble.

The Unruly Gallery

Our initial masonry implementation, intended to create a

Boosting Web Performance: Image Optimization in Astro for rifasvelez-web

Introduction

In the competitive landscape of web applications, every millisecond counts, especially when it comes to visual content. For our rifasvelez-web project, which relies on engaging visuals to captivate users, unoptimized images were proving to be a silent performance killer, directly impacting user experience and site loading speeds. Addressing this became a crucial step towards delivering a smoother, faster, and more enjoyable platform.

The Problem

High-resolution images

Fixing Masonry Layouts for Dynamic Content in Rifasvelez-web

Project Context: Rifasvelez-web

The rifasvelez-web project is a dynamic web application built with Astro, designed to showcase information, including a critical "winners gallery". This gallery prominently displays past winners of raffles, making a visually appealing and correctly structured layout paramount for user engagement and credibility.

The Problem: Inconsistent Masonry Gallery

Our "winners gallery" was designed to use a masonry layout, a popular grid technique where items of

Boosting Web Performance: A Deep Dive into Image Optimization with Astro

Project Context

In the rifasvelez-web project, we've recently focused on a critical aspect of web performance: optimizing image delivery. Images are often the largest contributors to page weight and load times, directly impacting user experience and SEO.

The Challenge of Images

Modern web applications, especially those rich in visual content, frequently encounter performance bottlenecks due to unoptimized images. Large file sizes, incorrect dimensions, and inefficient loading

Evolving rifasvelez-web: Embracing Hexagonal Architecture for V2

In the rifasvelez-web project, our focus is on delivering a robust and maintainable web platform. Recently, a significant milestone was reached with the integration of V2 updates, fundamentally driven by an architectural shift towards Hexagonal Architecture. This upgrade was more than just a feature release; it was a strategic move to enhance the system's resilience and adaptability.

The Symptoms

As rifasvelez-web grew, we started noticing common challenges associated with tightly

Boosting Web Performance: Optimizing Images and Enhancing Preloading for Better LCP

Lagging page loads and a noticeable delay in the appearance of primary content can be a major frustration for users, leading to higher bounce rates and a poorer overall experience. In the rifasvelez-web project, delivering a snappy, visually rich experience is paramount, especially for initial page loads.

The Challenge

Our initial analysis revealed that unoptimized images and a suboptimal loading strategy were significantly impacting our Largest Contentful Paint (LCP) scores.

Boosting Web Performance: Optimizing Images for Superior LCP

The rifasvelez-web project is constantly striving for optimal user experience, and a crucial part of that is lightning-fast page loads. Recently, we tackled a significant refactor focused on image optimization and preloading to achieve a better Largest Contentful Paint (LCP) score.The LCP metric, a core component of Google's Core Web Vitals, measures the time it takes for the largest content element visible within the viewport to fully render. Often, this largest element is an image.

The Art of Reverting: When Performance Optimizations Go Sideways on 'rifasvelez-web'

Introduction

Optimizing web performance is a constant pursuit for developers, especially when working on projects like 'rifasvelez-web' that aim for a seamless user experience. We all strive for faster load times, smoother interactions, and impressive Lighthouse scores. The allure of a 'better LCP' (Largest Contentful Paint) and perfectly optimized images often leads us down complex paths.

Unifying UI: Building a Reusable Countdown Component in React

The rifasvelez-web project recently saw an update focusing on UI refinement, specifically the introduction of a unified React countdown component. This change addresses the common challenge of maintaining consistent user experiences across various parts of a web application when specific UI elements are repeated.

The Challenge of UI Duplication

In many web projects, certain interactive elements, like a countdown timer, appear on multiple pages or sections.

Andres Hernandez

Andres Hernandez

Product-focused Software Developer specializing in the React ecosystem (Next.js, TypeScript). Proven experience contributing to high-impact open source projects and building scalable web applications. Committed to clean code, UI/UX design principles, and SOLID architecture to solve complex problems.