|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
BlackBerry News Desk Content Expiration with CloudBerry Explorer
Smart content caching allows you to improve scalability of your web site and lower your Amazon S3 bills
By: Alexandra Brown
Jul. 21, 2009 10:45 AM
CloudBerry Explorer freeware is a powerful Windows program that helps to manage all aspects of Amazon S3 storage. Many people use Amazon S3 to host their media content or entire websites to offload static content from their web servers, increase scalability or deal with so called TechCrunch effect, when after publishing a review on a popular website such as TechCrunch the number of visitors suddenly jumps tenfold.
One of the things that have been successfully employed by professional webmasters to improve scalability and lower the web server load is content caching. Content caching is a directive to the client browser to store a certain file that rarely changes such as image on a local computer. Next time the user requests the same page, the cached content is taken from the local computer rather than requested from the web server. Not only it allows for better user experience but also for less load on the web server. Additional benefit of employing content caching on S3 is that every request to S3 is charged and under some circumstances you can lower your bills significantly if you use smart caching strategy. Content Expiration can be controlled using two http-headers: Expires and Cache-Control. Expires Header To configure any header you can select the file(s) on S3 and click Set HTTP Headers in the toolbar.
In the popup up dialog click add and locate in this case Expires header. To make it easier we show the exact format for the header value in example. Type the value appropriate for your content.
Cache Control Header 90 days * 24 hr * 60 min * 60 sec = 7776000 sec This will give us a value for max-age parameter and here is how it should look like: Cache-Control: public, max-age=7776000,
After setting this header your content will expire in 3 month Other common values for Cache-Control Conclusion Download CloudBerry Explorer freeware here. Latest Cloud Developer Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week
Breaking Cloud Computing News
|
|||||||||||||||||||||||||||||||||||||||||||||||||