Pardon my ignorance, but is it possible to host WebPerl on github?
In theory, I could've uploaded the emperl.* build results onto GitHub, there is even the jsDelivr CDN that can be used for GitHub content. However, WebPerl isn't small - ~16MB uncompressed and 4MB compressed (if the server chooses to compress it). I also didn't know in advance how much it would get hit, and whether GitHub or that CDN might start enforcing some limits, and I didn't want to risk getting anything locked out because I am hosting large files that are being hit too often. Hence the separate domain and a CDN under my control.
Shouldn't that be the same top domain?
Not necessarily - that's why the CORS headers are needed.
I'm confused, do all sites which fetch jquery or bootstrap from a cdn add CORS headers?
code.jquery.com and maxcdn.bootstrapcdn.com both send the CORS header - but off the top of my head, I can't tell you whether it's required when also using Subresource Integrity (MDN seems to say that it is). I'm not an expert on this topic, this is just what I've figured out while getting WebPerl running :-)
In reply to Re^3: [WebPerl] Freely hosting an application
by haukex
in thread [WebPerl] Freely hosting an application
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |