Skip to end of metadata
Go to start of metadata

In order to support modifying outgoing headers with CacheControl MaxAge values, your Apache installation needs to have mod_headers enabled on it. The following guides show you how to enable mod_headers in different environments.


mod_headers should already be included with your Apache installation on Ubuntu machines, so usually all you need to do is enable it.

  1. Log in to the command-line of your Ubuntu server
  2. Run the following commands:
sudo a2enmod headers
sudo systemctl reload apache2


Additional Systems/OS's will be added to this page over time.