# Apache - is important enable this modules? expires and header

**URL:** <https://forum.hestiacp.com/t/apache-is-important-enable-this-modules-expires-and-header/523>\
**Category:** Uncategorized\
**Created:** [March 10, 2020, 5:40am UTC](https://forum.hestiacp.com/t/apache-is-important-enable-this-modules-expires-and-header/523 "2020-03-10T05:40:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmgnservices](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/m/d26b3c/32.png) [@mmgnservices](https://forum.hestiacp.com/u/mmgnservices)\
**Post date:** [March 10, 2020, 5:40am UTC](https://forum.hestiacp.com/t/apache-is-important-enable-this-modules-expires-and-header/523/1 "2020-03-10T05:40:40Z")

</div>

Team,  
i have installed Hestia over ubuntu and found this two modules disabled, i want know if is better enable it or not.

1- a2enmod expires  
2- a2enmod headers

Thanks

---

<div class="post-metadata">

**Author:** ![alber](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/alber/32/620_2.png) [@alber](https://forum.hestiacp.com/u/alber)\
**Post date:** [March 10, 2020, 10:40am UTC](https://forum.hestiacp.com/t/apache-is-important-enable-this-modules-expires-and-header/523/2 "2020-03-10T10:40:22Z")

</div>

Yes indeed you should install them as these modules provide directives to control and modify HTTP requests and response headers and `Expires` HTTP header and the `max-age` directive of the `Cache-Control` HTTP header in server responses. Headers can be merged, replaced or removed.

> [@mmgnservices](#):
>
> 1- a2enmod expires  
> 2- a2enmod headers

```auto
sudo service apache restart

```

Also, don’t forget to restart apache2 once you’ve enable the modules.
