|
> This will require an update after we switch the CDN to Rackspace.
|
|
|
|
|
|
|
|
As of MathJax 1.1 we are maintaining a public installation on a Content Delivery Network (CDN) for several reasons:
|
|
As of MathJax 1.1 we are maintaining a public installation on a Content Delivery Network (CDN) for several reasons:
|
|
|
|
|
|
* Users of software such as Blogger have no server access and thus can't install MathJax themselves. They could, however, point to a publicly hosted version of MathJax.
|
|
* Users of software such as Blogger have no server access and thus can't install MathJax themselves. They could, however, point to a publicly hosted version of MathJax.
|
... | @@ -7,14 +5,14 @@ As of MathJax 1.1 we are maintaining a public installation on a Content Delivery |
... | @@ -7,14 +5,14 @@ As of MathJax 1.1 we are maintaining a public installation on a Content Delivery |
|
* Because of both reduced latency and caching, CDN hosting will improve performance for most users
|
|
* Because of both reduced latency and caching, CDN hosting will improve performance for most users
|
|
* We can easily collect statistics about pages and sites using the hosted version of MathJax
|
|
* We can easily collect statistics about pages and sites using the hosted version of MathJax
|
|
|
|
|
|
We have selected CloudFront, part of the Amazon Web Services as our CDN service.
|
|
We recently switched to Rackspace as our CDN service; the service through Amazon CloudFront is still partially available.
|
|
|
|
|
|
### Quick Guide to Updating CDN Content
|
|
### Quick Guide to Updating CDN Content
|
|
|
|
|
|
MathJax CDN content is served from the `cdn.mathjax.org` domain. The source of this data (the CloudFront origin) is our main mathjax.org server. Contact Peter for information for access information. The CDN content is located under
|
|
MathJax CDN content is served from the `cdn.mathjax.org` domain. The source of this data (the CDN *origin*) is *Rackspace Cloud Files* (which uses OpenStack) and it is served via Rackspace's CDN partner, Akamai; more information can be found [at Rackspace](http://www.rackspace.com/cloud/cloud_hosting_products/files/).
|
|
|
|
|
|
`./webapps/dist/mathjax/...`
|
|
The basic set up is that each versioned release on the CDN corresponds to a subdirectory and each of those subdirectories is an independent clone of the corresponding MathJax branch from our canonical GitHub repository (except for `1.0` which is based on the sourceforge repository).
|
|
|
|
|
|
There is a README file in that directory with detailed information. However, the basic set up is that each versioned release on the CDN corresponds to a subdirectory, and each of those subdirectories is an independent clone of the canonical mathjax Git repo on GitHub. Thus, to update CDN content, one merely updates content in the appropriate release directory by using git to pull content from GitHub.
|
|
To update CDN content, one merely updates content in the appropriate release directory. The web-interface at Rackspace is not very useful however, so instead [Cyberduck](http://cyberduck.ch) has proven to be a reliable tool to handle uploads.
|
|
|
|
|
|
CloudFront will automatically pick up changes in origin data, and propagate them throughout the CDN in about 16 mintues. |
|
Changes to the CloudFiles container should take ~15 min to take effect. |
|
|
|
\ No newline at end of file |