|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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
|
|
#3
|
|||
|
|||
|
I tried that, no luck :-(
That's why I put it here in the suggestions forum. Perhaps someone will remember when recompiling apache :-) |
|
#4
|
||||
|
||||
![]() I was just looking for the same thing. I hope Hostgator will make mod_headers available really soon! |
|
#5
|
||||
|
||||
|
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" |
|
#6
|
||||
|
||||
|
Quote:
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 |
|
#7
|
||||
|
||||
|
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? |
|
#8
|
|||
|
|||
|
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 |
|
#9
|
|||
|
|||
|
I am having the same problem. Did you ever get the mod_expires working?
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 03:29 PM.











