Hi guys,
I have a rather exotic “Problem”. I have built a DummyAPI service using Astro API endpoints that return some mock data. I host the app on Netlify, therefore every API request triggers a Netlify function. This leads to hitting Netlify’s function limits pretty quickly.
I already played around with a couple of solutions, like building a API Rate Limit, but that rate limit probably also triggers a Netlify function since it runs on the sam endpoint and just returns a 429.
Any of you got a idea how to possibly circumvent this? My last idea would be to just redirect the request to a Python API endpoint that I host somewhere else, but I’d rather solve the issue using Astro only.
EDIT: I probably found a solution @astrojs/netlify | Docs. Will report back if it works.