Click here to show or hide the menubar.

flUploadToS3 attribute


This is a very special-purpose thing, but should be useful.

If a howto node has an flUploadToS3 attribute that's true, and it has a domain attribute, we upload the page, as it's rendered, to a bucket with the same name as its domain, with the filename index.html.

This means that if you write a howto that starts getting a lot of traffic, you can add this attribute, create a bucket on S3 with the domain name, visit the page, map the domain, and as soon as the DNS percolates, the flow will go to Amazon instead of your world outline server. Later the big wave is over, you can map the DNS back.

You might even the flUploadToS3 attribute true. No harm in keeping a rendered mirror on S3.

I'm anticipating that a howto I'm working on may get some traffic. :-)

I have to visit this page to get it to rebuild the static version on S3.


Posted on Tuesday, July 26, 2011 at 11:14 AM by Dave Winer.