Amazon S3 and CloudFront are the most efficient and cost optimized services for medium traffic websites.In this tutorial you will learn how to set custom headers for Amazon S3 and CloudFront files.Many people uses CloudFront to deliver static files(like CSS and JS) of their websites because CloudFront servers are much faster than traditional hosting servers.If you are using CloudFront as a CDN(Content Delivery Network) then you speed up your website and also minimize your bill by adding new headers.used as By including new headers to your files you can enable gzip compression or you can minimize the number of requests to you files with Expires header.
1.Download CloudBerry Exploral for Amazon S3.
2.Install and open CloudBerry Explorer for Amazon S3.Click on File menu and then click on Amazon S3 Accounts from drop down list.
3.Double click on New Account,choose any name as display name and fill your access key and secret key which can be retrieved from here.
4.Click on your display name and it will list all your bucket.
5.Click on your bucket and select any folder or file for which you want to set a custom header.Right click and then clock on Set HTTP Headers.
6.CloudBerry will retrieve all existing headers from amazon servers and in few seconds all existing headers will disday.If You want you can change the existing headers or you can add a new header to your files.To add new header click on Add.
You can choose any header from drop down list or you can add your own desired header.To edit an existing header you can click on any header then you can click on Edit to change header.