mohd-faraz

_blogs

// blogs / 20250823.md

Dev Log: August 23 Wrap-up

2025-08-23
#frontend#performance#optimization#web-dev

Overview

Today was one of those 'housekeeping' days. Nothing too flashy, just focusing on some much-needed frontend cleanup and performance tweaks to keep the site feeling snappy.

What I Worked On

Shaving off the kilobytes

I finally got around to dealing with the image assets in the gallery section. For a while, I’d been using standard high-res files which were fine for development, but they were starting to feel a bit heavy on the initial load.

I spent some time converting the legacy formats over to WebP. It’s not exactly a 'paradigm shift,' but it’s one of those low-hanging fruits for web performance that you just shouldn't ignore. The visual quality stays pretty much the same, but the payload size is significantly smaller.

It’s a simple swap in the template, but it makes a world of difference for users on slower connections:

<!-- Out with the bulky files, in with the optimized ones -->
<div class="image-container">
  <img src="hero-shot.webp" alt="Gallery item" />
  <img src="detail-view.webp" alt="Gallery item" />
</div>

I also took a second to clear out some commented-out placeholder code that was just cluttering up the view. It’s satisfying to see the component file look a bit leaner.

Wrapping Up

It was a productive, albeit quiet, day. Sometimes it feels good to step away from complex business logic and just focus on the user experience and loading times. Tomorrow I'll probably get back into the deeper functional requirements, but for now, the frontend is looking much tighter.

Catch you later.