TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

MathJax CDN shutting down on April 30, 2017

151 点作者 JohnHammersley大约 8 年前

19 条评论

aplaice大约 8 年前
Will the developers of Chromium and Edge perhaps reconsider incorporating native support for MathML in light of this, considering that apparently people do use maths on the web?<p>180 million monthly users is a significant portion of the world&#x27;s population. I&#x27;m not sure to what extent MathJax is cached, so it&#x27;s possible that these are not 180 million unique users. On the other hand, this does not include all those self-hosting MathJax, using KaTeX or just using server-generated images (for example Wikipedia†).<p>†It&#x27;s possible to force Wikipedia to use native MathML (which, at least on Firefox, looks really nice) or MathJax, but it&#x27;s non-trivial.<p><a href="https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=6606" rel="nofollow">https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=6606</a><p><a href="https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=152430" rel="nofollow">https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=152430</a><p><a href="https:&#x2F;&#x2F;wpdev.uservoice.com&#x2F;forums&#x2F;257854-microsoft-edge-developer&#x2F;suggestions&#x2F;6508572-mathml" rel="nofollow">https:&#x2F;&#x2F;wpdev.uservoice.com&#x2F;forums&#x2F;257854-microsoft-edge-dev...</a>
评论 #14075448 未加载
评论 #14077700 未加载
kyledrake大约 8 年前
It would be interesting to see what they tried to bill them. I can push out 70TB for about $700 right now (through our 11 PoP anycast network). AWS S3 would have cost $5,717.85 according to their calculator. My guess is the bill is somewhere in the middle.<p>If you don&#x27;t need a fancy anycast network, you can buy a 1GbE pipe from Hurricane Electric for about $400&#x2F;mo and push 192TB&#x2F;mo through it. Actually they include that when you get their $400&#x2F;mo server cabinets in the bay area. Probably not the best option ever, but I don&#x27;t think S3 is 14.29x better than it. Dedicated server providers like OVH might be okay with it too, probably ask them first. But if you had 2-4 servers and round-robined them my guess is you would be fine. You could get one server in Europe and one in NA and GeoDNS them and get probably-good-enough close to what an anycast network can do. For ~$200&#x2F;mo. Not too bad.<p>I&#x27;ve given my rant a million times so I won&#x27;t do it again, but &quot;The Cloud&quot; heavily upcharges on bandwidth. Or they tell you it&#x27;s &quot;unlimited&quot; (a word I&#x27;ve learned through experience to hate) then tell you &quot;except for the kind of stuff you&#x27;re doing&quot; and send a bill or shut you down. If you&#x27;ve got to ship a ton of bandwidth, you should at least look into the alternatives.<p>If you really want to go future tech, look into something like IPFS (<a href="https:&#x2F;&#x2F;ipfs.io" rel="nofollow">https:&#x2F;&#x2F;ipfs.io</a>) - it was built for stuff like this and it&#x27;s going to make a real dent in transit costs for heavy data sets, CDNs, package distribution and the like. I absolutely cannot wait for the distributed web.
评论 #14080309 未加载
tyingq大约 8 年前
Interesting that the solution doesn&#x27;t change the problem at all. As far as I can tell, cdnjs doesn&#x27;t pay Cloudflare either. So all the traffic still flows through Cloudflare, unpaid. Cloudflare is listed as a sponsor for cdnjs. Guess it just keeps the list of who CF subsidizes shorter.
评论 #14075049 未加载
评论 #14075040 未加载
franciscop大约 8 年前
What a huge mess.<p>- Only 1 month to re-route 70TB of content. I wonder if even over 10% will be re-routed, with all the other sites broken.<p>- Cloudflare notice could have beem some months in. Hopefully now that this got some traction they will provide some more time.<p>- There are a lot of situations where devs cannot change the CDN any longer. I for one won&#x27;t trust CDNs (including CDNJS) for anything durable any longer, which seems a big loss for Cloudflare.
评论 #14076607 未加载
评论 #14082042 未加载
jnpatel大约 8 年前
Is there a way in which MathJax could redirect their cdn.mathjax.org to cdnjs.cloudflare.com and maintain backwards compatibility for existing sites?<p>A DNS redirect would break the SSL, right? Perhaps a HTTP 3xx redirect?
评论 #14077401 未加载
评论 #14076794 未加载
joshmn大约 8 年前
So, yeah, ugh, why would a niche library (in the sense that it&#x27;s not jQuery or YUI) need to operate its own CDN, for anything other than style points? There are major players who are already doing this who own and operate their own network (see MaxCDN). What&#x27;s wrong with just plugging into their existing infrastructure?<p>If that fails, I&#x27;d give a shout to FDCServers or LeaseWeb (or of that capacity) and see what they can do. I know of a handful of people who&#x27;ve moved 100TB monthly for less than $100&#x2F;month, just because they asked.
评论 #14074928 未加载
评论 #14074807 未加载
评论 #14074786 未加载
Hydraulix989大约 8 年前
I have an old web site hosted by my university that has several math equations on it using MathJax. Unfortunately, since graduating, I no longer have access to it, but my professor still hosts all of past students&#x27; content for us.<p>I&#x27;m just glad that I had the foresight to have hosted my own copy of that library.
lpage大约 8 年前
I switched from MathJax to a middleman + execjs + KaTeX pipeline for my static sites earlier this year, and I&#x27;m very happy with it overall. KaTeX isn&#x27;t 1-1 with MathJax when it comes to syntax support; I was surprised to see that underset and overset - which are ubiquitous - aren&#x27;t supported. That said, I was able to work around every issue with alternative syntax. It&#x27;s awesome that the heavy lifting is no longer client side, and it&#x27;s a significantly easier build pipeline than MathJax if you&#x27;re trying to generate a single minimized script or use webpack.
评论 #14076291 未加载
ims大约 8 年前
Github code search for &#x27;script src &quot;cdn.mathjax.org&quot;&#x27;:<p>&gt; 1,811,496 code results.<p>Woof.
nikdaheratik大约 8 年前
It&#x27;s kind of strange to think that you need fewer of your own server resources the more successful your software is at meeting its goals, but this seems to be one of those cases.
kevin_thibedeau大约 8 年前
Is there any way to make Sphinx use its own copy of the script rather than the CDN?
reustle大约 8 年前
I wonder if BuiltWith would be willing to release a list for free of sites using MathJax, so someone could build a tool to notify them all if contact info can be found
pacaro大约 8 年前
I just noticed this last week. I was trying to work out how to use MathJax directly from within JS to render math inline with rendering the rest of my content, rather than asynchronously after the fact.<p>I love MathJax, but I&#x27;m now rendering math on the server using a latex -&gt; dvisvgm pipeline and caching the results
评论 #14074955 未加载
snackai大约 8 年前
MathJax is such a great thing. Paired with simple markdown it really helps me structuring all my study work, sharing is so much easier with HTML files than TEX files. So sad to see the CDN go. Also: Hey Google, wanna do something really great? Sponsor them! <i>wink</i>
评论 #14007824 未加载
abhirag大约 8 年前
Jupyter Notebooks containing maths and exported as html are also going to get affected. I personally write my articles in a Jupyter Notebook and export them to html and put them on my site so need to update a few of them.
mp3geek大约 8 年前
I thought cloudflare didn&#x27;t have a data cap? I&#x27;m somewhat concerned.
评论 #14075185 未加载
zerop大约 8 年前
Lots of products become popular when they are actually announced here as shutting down :)
slackoverflower大约 8 年前
I read that as MaxCDN shutting down.
评论 #14075637 未加载
infinity0大约 8 年前
&gt; We recommend cdnjs which uses CloudFlare for delivery<p>Oh man, so close to<p>&gt; We recommend cjdns (which is against everything CloudFlare stands for) for delivery
评论 #14074809 未加载