How to set up HTTPS for S3 static site

Posted on Mon, 12 Dec 2016 in Other • Tagged with pelican, https, amazon

Google is using HTTPS as a ranking signal since August 2016. Amazon lets their users free certificates. This two factors forces me to find out how to set up HTTPS for my S3 blogs. The solution is to place an S3 bucket behind CloudFront.

Continue reading

MongoDB count queries can slow down your API

Posted on Fri, 23 Sep 2016 in Other • Tagged with mongo, api, rest

Sometimes front-end team or other API clients ask to show them total number of objects in API replies. But if you use MongoDB, try not to do this. It slows down your API.

Continue reading