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
Created Cdn hosting (markdown) authored Apr 17, 2012 by pkra's avatar pkra
Hide whitespace changes
Inline Side-by-side
Cdn-hosting.md 0 → 100644
View page @ 7e266dd2
> 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:
* 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.
* 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 have selected CloudFront, part of the Amazon Web Services as our CDN service.
### 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 Robert for information for access information. The CDN content is located under
`./webapps/dist/mathjax/...`
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.
CloudFront will automatically pick up changes in origin data, and propagate them throughout the CDN in about 16 mintues.
Clone repository
  • Contributing
  • Development
    • Development Process
      • Release Process Checklist
      • Hotfix Release Process
      • Documentation Update Process
      • Source Control Policies
    • Design Documents
      • MathJax Roadmap
      • CDN Hosting
      • Performance Discussion
      • Profiling and Diagnostics Tools
      • Congfiguration Options
      • Documentation Guide
      • Testing