How to use Apache server .htaccess file to enable caching on shared hosting?
Posted on 2007-11-18
I have some sites on shared hosting (GoDaddy) and I want to enable caching for the images and specific files that have been used on the site.
I don't know if there is a way to see what the main configuration settings are in the httpd.conf file, so I can check on what settings i can override with the .htacess file. I want to be able to check the main config settings, is there a way to check those settings using PHP?
More importantly, any advice on how to enable caching of specific files using an .htaccess file is much appreaciated. I've searched the net and it's tough to find any info on caching using .htaccess.
It's really tough to work with these files on shared hosting. Any help is much appreciated.