How I moved from QUIC.Cloud to BunnyNet CDN.
A quick Google search indicates that approximately 43% of the public facing internet is running WordPress. WordPress is a popular free and open-sourcePHP application that operates as a Content Management System (CMS), an HTML templating software, and provides an extensible platform for developers to write server-side or “backend” code.
The Content Management System and HTML Templating features go hand in hand. Together they create an overarching “Web Page Builder”. By utilizing “Themes” - This Web Page Builder provides users an easy process for creating and managing pages, blog posts, media, forms, and more. All while maintaining consistent design across the site. These Themes are a huge aspect of the WordPress platform. The WordPress Organization releases a new “default” theme every year; additionally it is common to purchase a pre-built Theme from a company or a Web Designer.
WordPress requires a database to operate. This database keeps usernames, passwords, post information, and more. While the presence of a database is a critical requirement for the operation of an online web-store; I do not sell anything on my personal website. Furthermore, this website is running on a $5/mo Nanode. My available resources are rather limited. While the underlying AMD EYPC 7713 (Milan Series) is a database-crunching monster, I only have 1GB of system memory available. The operation of any database consumes valuable resources.
This web server is exposed over TCP ports 80 and 443. Port 80 listens for HTTP requests while Port 443 listens for HTTPS requests. When folks ask me about port forwarding, I always advise that port forwarding itself is not dangerous. Most times, it is an out-right necessity to operate a server. The port is only as “exposed” as the listening Application. However I would estimate most WordPress-based websites use 10+ plugins from 10+ unique developers. This introduces a wide-range of code quality. This increases attack vectors which inherently increases risk of data loss.
My final gripe is with the PHP-based templating function. While it helps retains artistic consistency and provides a graphical web page builder; it decreases your ability to effectively leverage a Content Delivery Network (CDN). When a visitor loads a webpage to view, it starts an underlying PHP process to “build”, “serve”, and “cache” the page. Typically after a small period of time, the underlying server (CPU/Memory/Storage) needs to rebuild the pages. This is because you are serving .php files. (Seen in the URL) This can result in decreased overall capacity and an in increase in page load times.
Until Chirstmas Day 2023, my website was running WordPress. It looked really good, and it would load quick enough. My disappointment was always in the Themes. If the Theme is free, it has watermarks and limited customization. Otherwise the Themes come with heafty yearly fee. As an experinced Techhy, I was no longer satisfied with the watermarks, ugly text colors, and I sure wasn’t going to pay a yearly fee. I did some tinkering with GitHub Pages and CloudFlare Pages. These exposed me to JekyllRB and Hugo. I’ve found JekyllRB to be my preference.
By leveraging JekyllRB, I can easily convert Markdown into plain ol’ HTML5 and CSS3. This means that I only need to “build” the site one-time. Now the underlying server only needs to “serve” the requested webpage HTML file. This greatly increases the overall capacity and reduces attack vectors by removing the reachability of a local or remote SQL database. This provides me the freedom to manipulate any aspect of my website as I wish, all without paying anyone.
- Create Snapshot of my Linode.
- Install GitHub CLI and Authenticate it.
- Sync GitHub Repo into a folder in my Home Directory.
- Install JekyllRB and pre-requisites.
- Build the Site using Jekyll into my Homr Directory.
- Empty the /var/www/html folder.
- Move new content into /var/www/html/.
- Fix file permissions in /var/www/html/.
- Reload Web Server processes.
- Clear CDN cache.
- Restart the underlying Server.
- Verify functionallity on Home PC, Cell Phone, and PageSpeed Insights.
Hello and welcome to 2024! I hope all of my readers are doing well. We had a fantatsic Christmas Holiday with the family and did a bit of travelling. Today I...
Outlining my 99.99% uptime goal.
Personal notes for Magic
HTML Hobbiest Webring Landing Page/Post
Method of Procedure for migrating from WordPress to plain HTML!
My take on the W900 DLC!
Howdy Friends! Today I will be tuning the underlying webserver that is running this very WordPress application. My hope is to reduce overall CPU load as well...
How to resolve my Jekyll/Cloudflare Pages deployment error.
In High School I had one dream that stands out. Own a Porsche by the time I was 26. Looking back, I have no idea where this dream came from; because I was ra...
Personal ramblings about my new town!
Hello and welcome friends and family! I am glad that you have taken interest in my Jellyfin server or another of my home lab adventures. Below you will find ...
ProtonMail Review - Product I pay for.
How to manage Pi-Hole
My new Gaming PC. Its boring but it’ll do!
How to setup Pi-Hole and Wireguard on Linode
How to update the hostname of a Raspberry Pi!
Can a Raspberry Pi Zero host a family VPN Server?
Logitech G413 Keyboard review.
Razer Huntsman Mini review.
YouTube video cruising through Colorado!
Ramblings about PiAware after one month of operation.
Guide to setup a Raspberry Pi from start to finish!
Guide to configuring the Timezone on a Raspberry Pi.