getImage utility. Astro caches these files in the node_modules/.astro/assets directory so subsequent builds don't need to re-optimize everything from scratch.node_modules/.astro directory as long as build caching is enabled, you're using v2, etc. and also if it detects "astro" as a dependency (or something like that). However, in my case, it is not doing this, resulting in build times of ~17 minutes every time.