For example i want to set Cache-control: public,s-maxage=7776000 header for every image that is served by Apache, so that these images can be cached by a proxy server for all the users for three months, so this is what i have to add to my httpd.conf file
<FilesMatch "\.(gif|jpg|jpeg|png|swf)$">
Header append Cache-Control "public,s-maxage=7776000"
</FilesMatch>
After doing that when i try accessing a static image from Http Server this is what i get
1 comment:
Thanks for info
Web Design Company in Bangalore
Website development in Bangalore
Post a Comment