-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move to fastly #67
Merged
Merged
move to fastly #67
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
- add logging, content fetch - various fixes around deployability via Vercel (dependencies, etc)
- set unique surrogate key for vercel-hosted content being served - pay no attention to the insanity that now will become fastly.toml. - set surrogate key for vercel content - disable font: false - strip non-EN for now
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We've been experiencing issues for the past few months due to bandwidth being served by Vercel for the docs.rockylinux.org site. Investigation by the Web team isolated it to mainly the search indicies on the docs website. These are fairly large and, apparently not being cached by Vercel.
Fastly is a very easy choice for hosting the docs site as it is truly static and can be hosted alongside the rest of our services.
This change implements a
compute-js
service using compute-js-static-public. There are a couple modifications/customizations:Compiled/built versions of the above are hosted on git.resf.org and will be pulled from there during the build process.
In addition to the above external changes, the compute-js application source was modified such that localized content (i.e., non-english) is served from Vercel. This is achieved by the following logic implemented in the code:
n.b. This change does not modify the DNS for docs.rockylinux.org, but will enable us to cut over to Fastly to serve this content in the future, while deploying the content side-by-side with the Vercel version.