A reverse proxy is a proxy server that acts as a gateway to a Web server. When you send a request to a Web server that uses a reverse proxy, your request is not sent to the Web server; They go to the reverse proxy, which then determines whether the request should be sent to the Web server. So What are the advantages of reverse proxies?

1.Load balancing
The biggest advantage of a reverse proxy is that it can act as a load balancer. High-traffic web sites often face the problem of processing a large number of requests per minute, which can slow down their system performance and disrupt response times. Using a reverse proxy ensures a better user experience and faster response.
2.The cache
Some reverse proxies can act as caching machines. Typically, if you send a thousand requests a minute for the same resource, those requests will end up on the same server over and over again, wasting resources and valuable time. When requesting resources for the first time, the reverse proxy can cache (save) the obtained resources and directly obtain the same resources for the next time, saving resources and time.
3.security
If you use a reverse proxy, the request does not go directly to the Web server. They help protect Web servers from known vulnerabilities.
Reverse proxies are useful in request and response cycles. It can improve security and also provide a faster response for users visiting high-traffic sites.