mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-16 12:40:07 -04:00
- Implement instance-level memoization for `crop_or_parent` and `display_seed_availability` - Use `Rails.cache.fetch` for `crop_jsonld_data` to improve performance of JSON-LD generation - Optimize `display_seed_availability` to avoid redundant queries - Fix a potential `NameError` in `crop_jsonld_data` by initializing `images` properly - Ensure memoization keys handle non-persisted objects and nil results correctly Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>