When I deploy a large file in Liferay’s Documents and Media (DAM) and my site experiences heavy traffic, the site goes down because all users are trying to preview the same large file. However, when we switch to fetching the file directly from the server (bypassing Liferay), the site remains stable and performs fine.
Why does serving the file through Liferay cause the site to crash under load, and what is the recommended approach to handle large file delivery in DAM without impacting site availability?