3 ms·
Maybe it’s because MathJax loading slow would delay rendering, and using a CDN-hosted MathJax increases the chance the content is cached? That’s usually why pe
by singhrac 3y ago
Maybe it’s because MathJax loading slow would delay rendering, and using a CDN-hosted MathJax increases the chance the content is cached?
That’s usually why people use CDNs. It’s more important for MathJax than, say, interactive scripts, since it can cause rendering.
I don’t think MathJax loads any additional files (I don’t remember seeing any additional network requests).
- toastal 3y agoWith first-party isolation being the standard for the last couple of years, there are no “shared caches”. A third-party CDNs might load a particular resource faster, but at the cost of user privacy & reliability. You can know, barring exceptional circumstances, that if your site loaded, it can load its own libraries. Look at the news of Cloudflare, Fastly, et al. going down and the ‘internet breaking’ because there’s been too much centralization and bad advice that all site’s need these sorts of ‘optimizations’.