When I return a
statusCode of 404 with a serverless function I see the system retry and call again the functions 4 times.
For example if this URL return a 404
In the logs I see the function has been called 4 times
http://localhost:8888/.netlify/functions/getproduct/57498375.htm http://localhost:8888/.netlify/functions/getproduct/57498375.html http://localhost:8888/.netlify/functions/getproduct/57498375/index.html http://localhost:8888/.netlify/functions/getproduct/57498375/index.htm
At first, I thought it was the browser, but then I saw that all the browsers have the same behaviour.
I cannot find anything in the Netlify documentation nor the AWS Lambda Functions docs.
Does somebody know who is responsible for these calls? And also know how to stop them?