Usually, CDNs are used to have a content delivered on your website in a fast manner and to save some space on your server from resources such as images, documents etc. I’ve tried to use GitHub as a CDN for somewhat similar reasons. I’m running this blog on GitHub pages and as you might know GitHub only allows contents under 1 GB per repository. I didn’t wanted to utlize my GitHub page’s site’s storage to store images that I end up using on the blog. So, I’ve figured out a way.
I thought of creating and using an another GitHub repository where I would store all the image resources and which can act as a mean to deliver content on my blog whenever requested. I created a repository named cdn which is actually a bare bone repository. I would add images and resources in here.
Now, as I’ve configured my GtHub pages site to work with my custom domain, I can easily access any content on this site using URL
https://www.amitmerchant.com/cdn/<resource name in the repos>. For instance, There’s an image called
bulb-min.jpg exists in the repository which I can access using the following URL: https://www.amitmerchant.com/cdn/bulb-min.jpg
And there you have it! Your free and instantly available CDN ready to use in few clicks. Easy-peasy!
This way I can save up the space on my original GitHub pages site which I don’t want to get exhauted under 1 GB of limit and in case if the “cdn” repository also gets exhasuted, I can always create an another repository named “cdn2” or something like that. ;)
I’m sure many here will find this funny but trust me it’s highly functional and one can surely use it as a CDN alternative which they can spin up in minutes. I hope this would be useful for someone who is looking for a quick CDN service. :)
Until next time!
WordPress Professional Editorial Board is a dashboard to monitor and manage publications on your WordPress sites. You can manage posts for editing, reviewing and publishing on one or more WordPress sites through one integrated dashboard.
Aside from the main body content, a website includes a header and footer, which serve a particular purpose to help visitors. We believe that website footer design is just as important. First of all let’s answer two vital questions: What is a website footer? What should be in the website footer?
Suppose the Switch just started, and it received a frame that contains a destination MAC address for a network device not in its MAC addresses table. What happens then? We describe it briefly.
Here I show you how to simply download videos from LinkedIn to share it on any other social media. It could be done only by the some simple steps. It does not need to install any tools other than your browser (Chrome or Firefox)
امکان استفاده از ابزارهای تحلیلی مختلف شامل گوگل آنالیتیک، گوگل تگ منیجر و هاتجر (hotjar) در صفحات سایتهایی که روی سرویسهای ویراوب۱۲۳ ساخته شدهاند، فراهم شده است. با این ابزار میتوان به تحلیل رفتار کاربران، تحلیل مراجعات و ترافیک سایت برای بهبود سئو سایتهای پرداخت.
auto created content