CivicActions / civicactions-homesite

CivicActions Homesite redesign
2 stars 4 forks source link

[BUG]: Images not really optimized #179

Open mgifford opened 2 years ago

mgifford commented 2 years ago

Expected behavior I would expect that we'd be compressing our images and trying to upload them at an appropriate size.

I would think running images through https://tinypng.com/ would be a very good habit.

Not as good as using WebP or AVIF, but easier.

Describe the bug

From this quick review, we can drop significant Kb's just be optimizing the images: https://pagespeed.web.dev/report?url=https%3A%2F%2Fcivicactions.com%2F

URL Resource size Potential savings
Capitol building to represent government services that build public trustCapitol building to represent government services that build public trust /static/homepage-hero-fdad1db….png(civicactions.com) 518.3 KiB 460.7 KiB
div.cases > div.press-release-teaser > a > img /static/blogpostimage-135ff83….png(civicactions.com) 148.0 KiB 146.9 KiB
div.cases > div.press-release-teaser > a > img /static/case-study-teaser-img-4-fd5a69a….png(civicactions.com) 46.4 KiB 11.2 KiB
iris-i commented 2 years ago

Jira ticket: https://civicactions-home.atlassian.net/browse/HOMER20-564