How do I know if mod_expires is enabled on my server

Asked by:
youeverysecond / 5 Points
Time:
2013-05-07 6:05 pm EST
Category:
Htaccess
Hits:
530
Hi,
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
</IfModule>

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

Thanks!
Nicolas.

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

To submit an answer, please login.

ANSWERS

0

johnpaulb-whh2
Staff
7,075 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,

-John-Paul

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

Want to share this Question?

News / Announcements

Update to SSL Certificates - Certificate Warnings
1969-12-31 11:00 am EST
Hits: 665

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: support@WebHostingHub.com 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.