Plant images are stored as base64 in MongoDB and sent inside the GraphQL response. Peer review pointed out that this increases payload size (around 320 kB per Explore page and around 1.8 MB for the initial Plant Match load) and prevents the browser from caching images individually. If we keep base64 instead of switching to image files, the documentation should show that we know the alternative, why we still chose base64, what it costs, and how we would solve it with more time. - [ ] Add the base64 image storage to Known issues - [ ] Write a section on the choice under the sustainability part of quality.md - [ ] Write tests that measure image and response sizes (e.g. that no stored image exceeds a set size limit ??) - [ ] Document the measured sizes in quality.md Example text for quality.md We chose to store the plant images as base64 directly in MongoDB because it keeps each image and its plant data together in one document. This means there can be no broken image links or plants without images, and seeding, backing up and moving the database happen in a single operation, with no separate image folder to keep in sync. The images also don’t depend on Perenual’s external URLs, and the solution works the same locally and on the VM without extra server configuration. The downside is that base64 is about a third larger than a regular image file, and the browser cannot cache the images individually. With larger amounts of data, we would therefore store the images as compressed WebP files on the VM, serve them through Apache, and only send the URL in GraphQL.