Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Wiki
  • Cdn hosting

Cdn hosting · Changes

Page history
Update after CDN shutdown. authored Aug 04, 2017 by Peter Krautzberger's avatar Peter Krautzberger
Hide whitespace changes
Inline Side-by-side
Cdn-hosting.md
View page @ 0f5d65eb
As of MathJax 1.1 we are maintaining a public installation on a Content Delivery Network (CDN) for several reasons: Various free CDN providers (e.g., cdnjs.com, rawgit.com) host copies of MathJax, see http://docs.mathjax.org/en/latest/configuration.html#loading-cdn for more information.
* 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. The MathJax Consortium no longer provides CDN hosting at cdn.mathjax.org, see https://www.mathjax.org/cdn-shutting-down/ for more information.
* By hosting MathJax, we can control versioning and patches carefully, thereby increasing reliability
* 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 switched to Google Cloud Storage + Cloudflare in June 14 2014. CDN. The service through Rackspace has been discontinued.
### Quick Guide to Updating CDN Content
MathJax CDN content is served from the `cdn.mathjax.org` domain, see the [documentation](http://docs.mathjax.org/en/latest/configuration.html#loading-cdn). The CDN's source or *origin* is *Google Cloud Storage* and it is served via CloudFlare's CDN.
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).
To update CDN content, one merely updates content in the appropriate release directory at GCS and purges the cache for MathJax.js at CloudFlare.
### Historic documents
* [Managing Rackspace Cloud Files & CDN]
* [Directory structure]
* [.htaccess settings]
\ No newline at end of file
Clone repository

MathJax Wiki

  • Contributing
    • Contributor License Agreement etc
    • Quick guide to translating mathjax
  • Development
    • Development Process
      • Release Process Checklist
      • Documentation Update Process
      • Source Control Policies
      • GitHub
    • Design Documents
      • MathJax Roadmap
      • Semantic Enrichment project
      • CDN Hosting
      • Performance Discussion
      • Profiling and Diagnostics Tools
      • Documentation generation guide
      • Testing
        • Platforms supported
        • Test Machines
  • MathJax web presence