I have a question regarding browser caching…
Basically, where can I configure caching for different file types?
Now, for more details… what I’ve noticed is that every time I visit my Dreamhost hosted site, all the images on the page are downloaded. I was viewing the header info, and they don’t seem to be set to cache at all. If I refresh the page (using F5), I get the 304 Not Modified that I would expect to get.
But every time I navigate away and come back, all the images have a 200 Success codes and are being retrieved again.
After researching a bit, I found that some people use .htaccess file to resolve this and set caching, though it appears to be frowned upon. It sounds like a better method it to set caching at the main httpd config file.
So… what I need to know, I guess… is do we have access to that file somewhere (I am using VPS hosting)? If not, is using .htaccess a good method to set caching?
Thanks in advance…