Replies: 3 comments 3 replies
-
Yeah this caching-feature was lost during the v2.x to v3.x rewrite, in favor of streaming images during dev mode. |
Beta Was this translation helpful? Give feedback.
-
Just curious if there has been any work in this area...thanks :-) |
Beta Was this translation helpful? Give feedback.
-
I'm bumping into this right now with a svelte-kit app building on Netlify. There are a couple hundred images and they are all being re-processed on every build, even though I'm caching the build folder using Is there a way of recognizing that the work has already been done and only processing images which haven't already been processed? |
Beta Was this translation helpful? Give feedback.
-
sooo, got this issue...figured out how to use cite-imagetools in a sveltekit app to process images defined in markdown and it works pretty darn well, taking my lighthouse performance score from the low 60's straight to 100, so awesome there!
Problem is that now netlify will not build my site anymore because it wants to use too much resources...ram, time, disk...not sure...so I ha e to build it on my machine then drag and drop the build folder into netlify to deploy. It works, but I would much prefer for that to not be the case.
I'm also noticing that every time I run
build
it processes the images again, even though they have already been processed many times.So I'm wondering if there might be a way to process the images before they go to netlify, and also if there is a way to only process the images that change, rather than all of them every time.
Beta Was this translation helpful? Give feedback.
All reactions