layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

limit image processing on dev enviroment

Open LibenHailu opened this issue 6 months ago • 3 comments

Description During development, gatsby-plugin-sharp and image queries trigger Sharp to process and cache all images, which leads to excessive RAM usage and makes the project heavy to run. This PR fixes #

Notes for Reviewers Disabling image processing especially placeholders during development can significantly reduce RAM usage.

Signed commits

  • [X] Yes, I signed my commits.

LibenHailu avatar Jun 13 '25 17:06 LibenHailu

🚀 Preview for commit ffdab29561b02c019a2af5f0c1278608a9821612 at: https://684c618cce729a715b08eca8--layer5.netlify.app

l5io avatar Jun 13 '25 17:06 l5io

@LibenHailu Thank you for your contribution! Let's discuss this during the website call today at 5:30 PM IST | 7 AM CT

Add it as an agenda item to the meeting minutes, if you would :)

vishalvivekm avatar Jun 16 '25 10:06 vishalvivekm

🚀 Preview for commit bdea6e0cc66b2dfc2677df0aed7b90dd1d863253 at: https://684ffafd9867bbbb9f407637--layer5.netlify.app

l5io avatar Jun 16 '25 11:06 l5io

Hi @LibenHailu

I've been trying out the changes in this PR over the last 2 days, while developing the repo, and there's 2 things that I've observed:

  1. Yes, the build process till completion feels much better, and it's faster.

  2. Pages aren't being generated well. The site would sometimes "hang" on the landing page, and wouldn't respond to specific routes entered.

M-DEV-1 avatar Jun 26 '25 20:06 M-DEV-1

2. Pages aren't being generated well. The site would sometimes "hang" on the landing page, and wouldn't respond to specific routes entered.

I see, I'll check it out. Thanks, @M-DEV-1.

LibenHailu avatar Jun 28 '25 10:06 LibenHailu

@LibenHailu Thank you for your contribution! Let's discuss this during the website call today at 7 AM CT

Add it as an agenda item to the meeting minutes, if you would :)

vr-varad avatar Jun 30 '25 11:06 vr-varad

If this work is complete, this is a good item to add to the weekly Websites meeting agenda. You can add this item in the doc, attend, and present it. Meeting details at https://meet.layer5.io.

leecalcote avatar Jul 07 '25 03:07 leecalcote

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 19 '25 04:07 stale[bot]

@LibenHailu any updates

saurabhraghuvanshii avatar Jul 31 '25 18:07 saurabhraghuvanshii

@LibenHailu is it still a draft? or ready for review? or should I close it if you are not working on it.

vr-varad avatar Aug 10 '25 21:08 vr-varad

The PR is closed due to no further updates.

Namanv0509 avatar Oct 08 '25 22:10 Namanv0509