Elektrine lite

← Feed

@slowe@mastodon.me.uk

2026-04-07 10:16 UTC

@JoeD@mastodon.social @Philsturgeon@mastodon.green @ProtectEarthUK@toot.protect.earth I also don't know astro.js but https://docs.astro.build/en/guides/images/ seems to suggest that putting the huge images (e.g. https://github.com/protect-earth/website/blob/main/public/get-started--businesses.jpg) in src/ rather than public/ may help astro to process the images.

Replies (2)

  • @slowe@mastodon.me.uk 2026-04-07 10:20

    @JoeD@mastodon.social @Philsturgeon@mastodon.green @ProtectEarthUK@toot.protect.earth Website Carbon is useful for assessing the carbon impact of web pages e.g. https://www.websitecarbon.com/website/protect-earth-website-netlify-app/ The biggest impacts seem to be: 1) video 2) https://protect-earth-website.netlify.app/get-started--landowners.jpg 3) https://protect-earth-website.netlify.app/get-started--businesses.jpg 4) https://protect-earth-website.netlify.app/get-started--people.jpg but https://protect-earth-website.netlify.app/logo-footer.png could be optimised too.

    Open ##2402526

  • @Philsturgeon@mastodon.green 2026-04-07 14:17

    @slowe@mastodon.me.uk I’ve done this for sites and site update photos so should be covered there. It suggested not bothering for smaller things like @JoeD@mastodon.social @ProtectEarthUK@toot.protect.earth

    Open ##2402527