Search: Advanced search
Browse by category:
How to setup custom metadata headers for Amazon S3 objects with CrossFTP?
If you are using Amazon S3 to serve your files over http, you will get an additional flexibility to custom http headers could provide. For instance if you properly set Cache-Control http header, it will help you to reduce your Amazon S3 bills.
You can set up http-headers for the files already located in S3 buckets. Just select the file you want to set headers for and right click it. Choose Properties... from the context menu, and you will see the Metadata table in the Advanced tab.
The content of the metadata Table shows the headers metadata that are already assigned to the file. Most of them are assigned by Amazon S3 by default.
If you want to add a custom http header metadata, just click + button and type a name/value pair for the header.
Click ok and the new header will appear in the Metadata Table.
Click ok and the new header will appear in the Metadata Table.Click Commit, and the header will be applied to the file on S3. Next time someone requests this file from the web browser, the new http header will take effect.
Can I set headers for multiple files at once?
Yes. Just multi-select the files that you want to set headers for and follow the instructions above. If you want to apply for the subfolders as well, toggle the option "Apply changes to subfolders".
Commonly Used HTTP Headers for Cache:
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html for more details.
An example of its use is
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Note: if a response includes a Cache-Control field with the max-
cache-directive = cache-request-directive
cache-extension = token [ "=" ( token | quoted-string ) ]
With the ability to set custom http headers CrossFTP Pro is becoming a compelling tool for Amazon S3 users, in particular to web site developers who want to have granular control on how the files are handled by web browser. The more important thing is that, caching can significantly lower your Amazon S3's monthly bills.