random
June 7, 2020, 10:08am
1
this CDN was made on glitch, it serves the user with the requested content through express, it is a project with minified versions of different frameworks such as socket.io , bootstrap (JS and CSS), jquery and sweetalert. These are all the latest versions and is completely free.
https://protech-cdn.glitch.me
Combining automated deployment, instant hosting & collaborative editing, Glitch gets you straight to coding so you can build full-stack web apps, fast
or for a more official route:
https://cdn.ptuk.tk
4 Likes
I think using the ones from cloudflare would be a better idea due to the fact that glitch goes down a lot
3 Likes
random
June 7, 2020, 10:18am
3
yeah, it does seem like that. I may make another on another service like repl.it, the domain is linked to cloudflare btw @Misly
EDIT- repl.it version for downtime:
https://protech-cdn.17lwinn.repl.co
@random The links on the repl.it version send you to the Glitch version. You need to edit the links
random
June 7, 2020, 11:00am
5
hmm, the repl.it version is the exact same as the glitch one @EddiesTech
Yes, and the links on repl.it send you to cdn.ptuk.tk so it uses the Glitch version so you need to edit the links so they just go to e.g. /bootstrapcss instead of https://cdn.ptuk.tk/bootstrapcss
random
June 7, 2020, 11:02am
7
okay, i’ll do that @EddiesTech
EDIT- links rectified
1 Like
random
June 7, 2020, 11:18am
8
okay, all links rectified @EddiesTech
I’d recommend against using this, Glitch is very slow compared to services like unpkg or cloudflare. Just stick with the professional CDNs!
3 Likes
I agree with @ihack2712 , its just a lot better and faster to use professional cdns like cloudflare, also the chances of cloudflare going down is very low
random
June 7, 2020, 12:04pm
11
yep! lets just imagine this is a proof of concept for now!
Personally, I would recommend using Netlify for a CDN, they are better with static assets.
Personally I like to use jsdelivr, I feel they are better with github and npm.
1 Like
Or cdnjs. I just know that one of them has auto minify which is a nice feature.
1 Like
Netlify has minify I think, it’s nice for a cdn, here’s a stress test https://minecraftpic.netlify.app/allmyscreenshots/
Don’t worry the thumbnails are 90000% smaller because they’ve been downscaled
random
June 7, 2020, 5:57pm
17
2 Likes
how long did you leave it open?
i scrolled down a bit but that was on mobile, ill update you on how it works with a 3700x
it peaked at around 20-30 percent
Maybe you can create something like jsDelivr.
random
June 8, 2020, 6:41am
23
i’ll try, it is still a work in progress
Don’t try, jsDelivr has crazy amount of resources to actually be able to provide their resources the way they do.
random
June 8, 2020, 12:26pm
25
Okay then! Let’s consider this discussion closed
I’m still going on with my project though, just for small time projects
2 Likes
Netlify only supports static sites, so auto minification can really only be done on the backend, so that really would not be possible.
I’m actually using it for something, I just thought it’d be sort of a stress test but not really since the thumbnails are 100 times smaller than the actual pictures.