DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Gergely Nemeth
Gergely Nemeth

Posted on

6 Quick Tips to Build Your Blog From Scratch

Are you interested in building your blog from scratch? These quick tips may help:

  1. Ship it as a static site. If you don't have to host Node.js/PHP/etc, fewer things can go wrong. You don't want to be paged because your personal blog went down.

  2. Instead of depending on Share buttons for Twitter of Facebook, use their share URLs. Because no additional JavaScript will be included on your site, page load times will improve.

  3. Leverage Cloudflare Workers if you had a blog before, and you want to change the URL structure. Cloudflare Workers provide extreme flexibility and adding Permanent Redirects with them takes only a few minutes.

Learn more here: https://nemethgergely.com/blog/building-your-blog-from-scratch.

Top comments (0)

An Animated Guide to Node.js Event Lop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.