My learning diary

Push vs Pull CDN

It was only recently that I realised that there was more than one way to update the content that your CDN hosts. Since, to the best of my knowledge, Cloudflare was the closest thing to a CDN, I thought all CDN would work like that. Couldn’t be more wrong. I like that Cloudflare is so hassle-free to set up. It caches my site upon request + nothing in cache. There is no need to push any content to Cloudflare by myself.

Continue reading "Push vs Pull CDN"

Cloudflare Workers

It’s time to put my short custom domain to good use. Cloudflare Workers is a quick ’n’ dirty way for me to do URL forwarding. With URL forwarding, I will no longer need to set up DNS records or page rules. The former requires domain verification. Plus, social media websites do not support custom domains (why will they). The latter costs money (the first 3 page rules are free). My worker’s name was "vanity" for obvious reasons and it sits at https://www.

Continue reading "Cloudflare Workers"

Adding my sites to Cloudflare

I added my domains to Cloudflare. Cloudflare offers many cool features that my domain providers do not offer. Well, they did not need to offer those features. In Cloudflare, I get to see features such as: Web traffic analytics Set up DNSSEC Configure network transport options and/or optimisations Run speed tests on my site Configure caching Run JavaScript workers Restrict image hotlinking This list is non-exhaustive. There are more features in the Pro and Enterprise subscriptions.

Continue reading "Adding my sites to Cloudflare"

Custom domains

A few days ago, I purchased the jiayee.net domain. Yesterday, I purchased the jiay.ee domain. It was a novel experience for me. I last “purchased” a domain from Freenom about 3 years ago. Back then, I had the free domain point to my AWS EC2 public IP address (this was for CS3216). This week, my custom domains are pointing towards GitHub pages and Blogger respectively. For GitHub pages, I followed a guide which is like this one by Rich.

Continue reading "Custom domains"