Skip to content
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

Open WorldCat: Fall back to archived build ID (and asyncify) #3097

Closed

Conversation

AbeJellinek
Copy link
Member

We try Google's cached version of the homepage, then Archive.org's, which should both be relatively recent. Old build IDs should remain valid for a little while (that's why Next.js uses them AFAIK - it lets old cached versions of the static frontend continue fetching server-side data for a while after a backend update). This does run the risk of breaking translation if the build ID expires before the cache is updated, but that's better than translation always failing for people who get 403'd by Cloudflare.

Much faster than archive.org.
To fix horrible performance in Sublime, which apparently is not
optimized for thousands of lint errors.
@dstillman
Copy link
Member

Merged in f3d77f2 and 27f7112

@dstillman dstillman closed this Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants