You need to configure a response authentication for one or more zones within the same web application
You need to ensure that the custom code that queries the list items and default list views remains within 2,500 items for each request