How do I know if mod_expires is enabled on my server

Asked by:
youeverysecond / 5 Points
2013-05-07 6:05 pm EST
I have added some Apache directives in my .htaccess, like this:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css M604800
ExpiresByType application/x-javascript M604800
ExpiresByType application/javascript M604800
ExpiresByType image/bmp M604800
ExpiresByType image/gif M604800
ExpiresByType image/x-icon M604800
ExpiresByType image/jpeg M604800
ExpiresByType image/png M604800

But it seems that they are not taken into account. When I go test my site on it keeps telling me that I should improve the browser caching...


To ask this user for more information, please first login.

To submit an answer, please login.



12,091 Points
2013-05-08 8:48 am EST
Hello Nicolas,

Thank you for your question. Yes, mod_expires is installed on our servers by default, it just needs to be added to your .htaccess correctly.

Here is a link to a guide I found via google search, that covers "adding mod_expires to your .htaccess.

If you have any further questions, feel free to post them below.
Thank you,


To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.