... | @@ -19,7 +19,7 @@ |
... | @@ -19,7 +19,7 @@ |
|
Reference: https://github.com/mathjax/MathJax/wiki/CDN-Hosting-at-Google-Cloud-Storage
|
|
Reference: https://github.com/mathjax/MathJax/wiki/CDN-Hosting-at-Google-Cloud-Storage
|
|
|
|
|
|
1. Upload the new version to the CDN as `N.m-latest` and update `latest`.
|
|
1. Upload the new version to the CDN as `N.m-latest` and update `latest`.
|
|
1. Set mime-type headers for the fonts (see https://github.com/mathjax/MathJax/wiki/CDN-Hosting-at-Google-Cloud-Storage#mime-type-headers)
|
|
1. If fonts were updated, fix mime-type headers (see https://github.com/mathjax/MathJax/wiki/CDN-Hosting-at-Google-Cloud-Storage#mime-type-headers). If there were no updated, it's faster to copy old fonts from `latest` to `N.m-latest` on GCS (with `-p` option).
|
|
1. Check the custom headers of fonts via curl.
|
|
1. Check the custom headers of fonts via curl.
|
|
1. Purge the cache via CloudFlare.
|
|
1. Purge the cache via CloudFlare.
|
|
|
|
|
... | | ... | |