Enable mod_headers and mod_expires modules for Apache

I just installed WP Super Cache and enabled a bunch of settings that will allow me to cache this site while making such visitors can cache of pages on my site (which will only be updated when the relevant page is updated). This required enable some modules for Apache.

I have listed the steps below. (These steps require you to use a terminal to interface with your server. If you don't know what I'm talking about check out my (Linux Server Management)[https://w3db.org/linux/] guide.)

Step 1

a2enmod headers

You will see a message...

Enabling module headers.
To activate the new configuration, you need to run:
systemctl restart apache2

You can run the command if you want, but we need to enable another module and then reload Apache. So you can ignore the reload command and proceed to the next step.

Step 2

a2enmod expires

Step 3

Now you can reload Apache

systemctl restart apache2