Varnish

Varnish is Article description::a webcache and HTTP accelerator. It can either serve cached content, or retrieve content from a server and cache it. This helps to reduce I/O pressure for web servers that are serving many clients or have many requests.

Emerge
Install

Global
Configuration is controlled by the file.

Any traffic pointed at port 8080 will be through varnish.

OpenRC
To start varnish immediately:

To start varnish at boot:

systemd
To start varnish on boot:

To start varnish immediately:

Verification
The command  can be used to verify that HTTP traffic is successfully traveling through the varnish proxy: