Plant Detail lookups need to first check our local database, then if not found check Trefle's API for a specific plant, store it and then use the data for whatever we need it for (favorites, plant details pages, etc).
This is because Trefle has a 120 request per minute rate limit and we want to avoid spamming them.
Plant Detail lookups need to first check our local database, then if not found check Trefle's API for a specific plant, store it and then use the data for whatever we need it for (favorites, plant details pages, etc).
This is because Trefle has a 120 request per minute rate limit and we want to avoid spamming them.