A Andres Hernandez

Filtered Posts (Clear all)

Enhancing Workflow: Introducing the 'Enviado' Status Toggle in pqrs

In the pqrs project, managing the lifecycle of various items is a core functionality. Previously, tracking the 'sent' or 'dispatched' (enviado) status of an item often involved navigating through separate detail pages or relying on external notes. This added friction to daily operations, making it harder to get a quick overview of item progress directly from the main dashboard.

The Challenge: A Need for Clarity

The primary challenge was the lack of immediate visual feedback on an

Read more

Streamlining Deployments: Automating FTP with GitHub Actions for pqrs

For many developers, the word 'deployment' can still evoke a slight cringe. Especially when it involves the venerable File Transfer Protocol (FTP). While modern CI/CD pipelines often leverage cloud platforms and containerization, countless projects, like pqrs, still rely on FTP for rapid, straightforward server updates. This post details how we transformed a manual, error-prone FTP deployment process into a robust, automated workflow using GitHub Actions.

The Situation

Read more

Streamlining Deployments: Removing Redundant npm ci from FTP Workflow

In our pqrs project, which leverages GitHub Actions for automated deployments, we recently identified and addressed a subtle inefficiency in our FTP deployment workflow. This small change has led to a cleaner and more performant CI/CD pipeline.

The Problem

Our ftp-deploy.yml GitHub Actions workflow included an npm ci step. While npm ci is an indispensable command for ensuring clean, reproducible dependency installations in build environments – especially when working with

Read more

Optimizing Performance in rifasvelez-web: A Refactoring Deep Dive

The Optimization Imperative

In the fast-paced world of web development, a slow application is a forgotten one. For rifasvelez-web, our core project, maintaining peak performance isn't just a nice-to-have; it's critical for user engagement and overall success. A snappy user experience translates directly into happier users and better conversion rates. With this in mind, we recently embarked on a focused refactoring effort aimed squarely at boosting the application's speed and efficiency.

Read more

Optimizing Astro Applications: Lessons from Refactoring rifasvelez-web

Introduction

The rifasvelez-web project recently underwent a significant refactoring effort, primarily focused on enhancing its overall performance and maintainability. In a modern web landscape where user experience is paramount, optimizing code isn't just a nicety—it's a necessity. This deep dive explores the approach, outcomes, and key lessons learned from our recent push for a more optimized Astro application.

What Worked

Improved Page Load Performance

By strategically

Read more

From Heavy to Hyper-Fast: Optimizing Hero Images with AVIF in Astro

In our rifasvelez-web project, we're constantly looking for ways to enhance user experience, and a critical component of that is page load speed. The initial focus often goes to JavaScript bundles or server-side rendering, but sometimes the biggest wins come from simpler changes.

The Situation

Our rifasvelez-web site, built with Astro, featured a prominent hero section designed to captivate visitors immediately. While visually appealing, the hero image was a large PNG file.

Read more

From PNG to AVIF: Supercharging Web Performance in Astro

First impressions matter, especially on the web. A stunning hero image can captivate users, but a slow-loading one can drive them away. In the rifasvelez-web project, we recently tackled this challenge head-on by migrating our hero images from PNG to the more efficient AVIF format, a crucial step in optimizing site performance.

The Performance Bottleneck

Traditional image formats like PNG and JPEG have served the web well for decades. However, as web content grows richer and user

Read more

Optimizing Google Analytics for Faster Astro Sites

It's critical to track user behavior, but analytics scripts can slow down your site. The rifasvelez-web project recently tackled this, ensuring that Google Analytics (Gtag) enhances rather than hinders performance.

The Performance Challenge

For modern web applications, especially those built with frameworks like Astro focusing on speed, every millisecond counts. While essential for insights, third-party scripts like Google Analytics' Gtag can introduce render-blocking issues, delaying the

Read more

Optimizing Google Analytics (Gtag) for Enhanced Web Performance in Astro

On the rifasvelez-web project, our recent efforts have focused on enhancing user experience and site speed. A key area for improvement identified was the loading of Google Analytics' Gtag script, which, while crucial for gathering valuable analytics, can sometimes impact initial page load times if not implemented carefully.

The Challenge

Google Analytics' Gtag script, when embedded without specific optimizations, can act as a render-blocking resource.

Read more

Mastering Your Social Presence: The Impact of an Optimized og:image

The internet is a vast place, and in the blink of an eye, your content can be shared across countless social platforms. But what makes it stand out? Often, it's the og:image – the visual ambassador of your page. A blurry, slow-loading, or incorrectly sized og:image is a missed opportunity, potentially leaving your content lost in the endless scroll.

The Invisible Problem: Unoptimized Open Graph Images

For the rifasvelez-web project, we recently tackled a crucial detail often

Read more
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.