I'm trying to set up caching on my site. I have shared hosting at Hostgator. I have the code it my htaccess but it doesn't seem to be working. Talking to Hostgator teck support they say they don't have that on shared accounts. Is there anyway to enable it on my end? Thanks!
another hosting provider or another level of hosting with your current provider which supports mod_expires.
you can provide an Expires header with your response if you are using php. this might be helpful. Conteg v0.13 available on PHP Classes - PHP Server Side Scripting forum: http://www.webmasterworld.com/php/3277772.htm [webmasterworld.com]
Thanks guys for your response. It's funny just like 1000 other things, in a year from now this will be a trivial thing, but now it's a total unknown. I will try php once I've completely exhausted htaccess. I currently have this in my htaccess...
ExpiresActive On ExpiresDefault "access plus 10 years" ExpiresByType text/html "access plus 1 day"
I'm going to try mod_headers code now and see if that works.