Fun Jekyll Tricks
madebymarket.com
madebymarket.com
Couldn't you, with much the same effort, just convert your database to a static set of JSON files? What, exactly, does Jekyll bring to the table here? (Also, is it really an API if it's static?)
My favorite Jekyll trick was ditching it for middleman.
https://github.com/philipithomas/www.philipithomas.com/blob/...
https://github.com/philipithomas/www.philipithomas.com/blob/...
http://stackoverflow.com/questions/9829302/return-list-of-fi...
S3 on it's own actually have very bad latency, and it doesn't give you any good way to do atomic deploys (you just upload one file after the other, so if you deploy fairly often visitors might visit your site in an inconsistent state).
Cloudfront helps on the latency, but invalidating cached assets can take some time.
BitBalloon does atomic deploys, perfect caching headers, HTTPS for custom domains, and more.
Here's our guide on setting up continous deployments for Jekyll sites with BitBalloon:
https://www.bitballoon.com/blog/2013/12/13/continous-deploym...