Portfolio / Website Speed Optimization

How To Lose Weight Gallery — Homepage Speed Optimization

People come to How To Lose Weight Gallery to browse illustrated topic boards. In paired mobile PageSpeed tests, the largest visible element appeared in 1.0 s after the update, down from 3.4 s. The tested homepage also stopped shifting as it loaded.

My role
Website speed optimization
Industry
Wellness publishing

PageSpeed results

Mobile Performance
54 → 95

First Contentful Paint and Largest Contentful Paint both improved from 3.4 s to 1.0 s. Speed Index fell from 7.4 s to 3.7 s.

Desktop Performance
69 → 91

First content appeared in 0.3 s, down from 0.9 s. The largest element took 1.8 s in the retest, compared with 1.0 s before.

Cumulative Layout Shift
1.0 → 0

Both device profiles recorded zero layout shift after the update. SEO rose from 92 to 100 and Agentic Browsing went from 1/2 to 2/2.

How To Lose Weight Gallery homepage report showing Performance 90, Largest Contentful Paint 1.5 seconds, and Cumulative Layout Shift 0. PageSpeed reportEnlarge

PageSpeed report

Open full-size image in a new tab ↗

What needed fixing

The topic boards and image grid moved as the homepage loaded. Both baseline tests recorded a Cumulative Layout Shift of 1.0, enough for a reader to lose their place. On mobile, even the first visible content took 3.4 s to appear.

What I changed

I reserved space for the logo and gallery layout and included the public stylesheet in the HTML so the browser could apply it before the first paint. I regenerated responsive WebP images across 9,997 image records and kept the original uploads. I also removed the site-wide Pinterest script while keeping the Save buttons working.

Test reports

Compare the mobile baseline with the mobile retest, or the desktop baseline with the desktop retest. Both retests scored 100 for Accessibility, Best Practices and SEO.

The cover screenshot shows a separate run with Performance 90, First Contentful Paint 0.3 s, Largest Contentful Paint 1.5 s, Total Blocking Time 20 ms, Cumulative Layout Shift 0 and Speed Index 2.2 s.

Technologies

  • Laravel
  • Lighthouse
View tested website

Related work

Mobile Performance99 → 100
Desktop PageSpeed report for al-mehedihasan.com showing four scores of 100 and a largest contentful paint of 0.2 seconds.

Website Speed Optimization

Speeding up my Laravel portfolio

On my own portfolio homepage, mobile Largest Contentful Paint went from 1.6 s to 0.8 s in two PageSpeed Insights tests. Here is what I changed and how the desktop and mobile results compare.

Role Site owner and performance developer

Desktop Performance77 → 95
Ehaan Lifestyle homepage report showing Performance 95, Largest Contentful Paint 1.2 seconds, and Cumulative Layout Shift 0.

Website Speed Optimization

Ehaan Lifestyle — Storefront Speed Optimization

I reduced the image downloads on the Ehaan Lifestyle homepage, then worked on the mobile banner and the scripts that run before shoppers can use the page. Desktop Performance rose from 77 to 95. In the second round, mobile Performance rose from 78 to 83.

Role Website speed optimization

Mobile Performance86 → 95
STIVO Lifestyle homepage report showing Performance 100, Largest Contentful Paint 0.5 seconds, and Cumulative Layout Shift 0.004.

Website Speed Optimization

STIVO Lifestyle — Storefront Speed Optimization

I made STIVO Lifestyle’s first banner smaller and loaded it earlier. Paired Lighthouse tests on the live homepage recorded mobile Performance rising from 86 to 95 and desktop Performance from 97 to 100.

Role Website speed optimization

Want a faster website?

Discuss My Website Speed Explore the service