Go Back   HostGator Peer Support Forums > Public Forums > Suggestions

Notices

Reply
 
Thread Tools
  #1  
Old 11-03-2007, 09:47 AM
Schack Schack is offline
Hatchling Croc
 
Join Date: Nov 2007
Location: Denmark
Posts: 5
Talking mod_headers

It would be really nice to have mod_headers installed/compiled into Apache
http://httpd.apache.org/docs/1.3/mod/mod_headers.html

Having mod_headers available would make some serious client side caching of static content possible. This would result in less bandwidth usage and faster loadtimes for returning visitors on blogs and other often visited sites.

Example:
I have a Wordpress blog runinng on a server outside of Hostgator with this:
<FilesMatch "\.(jpg|png|gif|js|css|ico|swf)$">
header set "Cache-Control" "public, max-age=2419200, s-maxage=2419200"
</FilesMatch>
in my .htaccess file
This way I can serve a view of my blog with a single HTTP request/response for a returning visitor.
Reply With Quote
  #2  
Old 11-03-2007, 09:56 AM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,057
Default Re: mod_headers

Im sure that when i was on a reseller server it was installed..

Ticket support and ask them to add it and see what they say
Reply With Quote
  #3  
Old 11-05-2007, 07:10 AM
Schack Schack is offline
Hatchling Croc
 
Join Date: Nov 2007
Location: Denmark
Posts: 5
Default Re: mod_headers

I tried that, no luck :-(
That's why I put it here in the suggestions forum.
Perhaps someone will remember when recompiling apache :-)
Reply With Quote
  #4  
Old 12-26-2007, 08:53 AM
roeften's Avatar
roeften roeften is offline
Hatchling Croc
 
Join Date: Apr 2007
Location: Ios Cyclades, Greece
Posts: 1
Default Re: mod_headers



I was just looking for the same thing.

I hope Hostgator will make mod_headers available really soon!
__________________
Homer's Inn Hotel
Ios Cyclades, Greece
http://www.homersinn.com
Reply With Quote
  #5  
Old 03-25-2010, 02:06 AM
tomda's Avatar
tomda tomda is offline
Hatchling Croc
 
Join Date: Jan 2007
Location: Nairobi
Posts: 25
Default Re: mod_headers

I am also and already asked. It's a NO NO !!

And impossible to run caching script since if-modified-since and if-none-match not in HTTP headers.
__________________
From Kenya
"I eat up gnus 'coz there are no 'gators in Africa"
Reply With Quote
  #6  
Old 03-25-2010, 05:53 AM
quietFinn's Avatar
quietFinn quietFinn is online now
Veteran Croc
 
Join Date: Feb 2005
Posts: 3,558
Default Re: mod_headers

Quote:
Originally Posted by tomda View Post
I am also and already asked. It's a NO NO !!

And impossible to run caching script since if-modified-since and if-none-match not in HTTP headers.

If you look here:
http://support.hostgator.com/article...e-technologies
you see that "If-Modified-Since HTTP header" should be available.
__________________
quietFinn - netFinn Finland
"Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss
Reply With Quote
  #7  
Old 04-02-2010, 10:12 AM
GatorCarl's Avatar
GatorCarl GatorCarl is offline
HostGator Staff
 
Join Date: Sep 2007
Location: Oz
Posts: 433
Default Re: mod_headers

I apologize for the confusion. Both mod_expires and mod_headers are available on our shared and reseller servers.

tomda: Could you please PM me the ticket number where you were told this?

Also, if anyone else was told differently, could you please PM the person you talked to, chat id, or ticket number?
Reply With Quote
  #8  
Old 04-10-2010, 06:49 AM
pwnedd pwnedd is offline
Hatchling Croc
 
Join Date: Jul 2008
Posts: 1
Default Re: mod_headers

Hello,

According to this discussion and also another related support portal item, both mod_headers and mod_expires should be enabled on shared hosting. While I've been able to get mod_headers settings to take effect, I'm not having any luck with mod_expires.

The directives I'm attempting to use are:

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/png "access plus 3 months"
ExpiresByType image/jpg "access plus 3 months"
ExpiresByType image/gif "access plus 3 months"
ExpiresByType image/jpeg "access plus 3 months"
ExpiresByType video/ogg "access plus 1 month"
ExpiresByType video/mpeg "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
ExpiresByType video/quicktime "access plus 1 month"
ExpiresByType video/x-ms-wmv "access plus 1 month"
ExpiresByType text/css "access plus 3 months"
ExpiresByType text/javascript "access plus 3 months"
ExpiresByType application/javascript "access plus 3 months"
</IfModule>

Any ideas why it's not working?

Thanks!

p.s. On a side note, is it still the case that mod_deflate is disabled for all shared hosting?

Last edited by pwnedd; 04-10-2010 at 06:50 AM. Reason: adding another question
Reply With Quote
  #9  
Old 05-28-2010, 12:38 PM
ryanmc ryanmc is offline
Hatchling Croc
 
Join Date: Nov 2005
Posts: 6
Default Re: mod_headers

I am having the same problem. Did you ever get the mod_expires working?
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 03:29 PM.