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

Redirect in case of unresponsiveness #202

Open
erlend-sh opened this issue Oct 6, 2024 · 1 comment
Open

Redirect in case of unresponsiveness #202

erlend-sh opened this issue Oct 6, 2024 · 1 comment
Milestone

Comments

@erlend-sh
Copy link
Contributor

If a personal weird-page stalls for more than 3.5 seconds, we should redirect the visitor to the Backup Redirect, if one is set.

My personal Backup Redirect would be set to https://github.com/erlend-sh

@erlend-sh erlend-sh added this to the MVP milestone Oct 6, 2024
@zicklag
Copy link
Collaborator

zicklag commented Oct 6, 2024

Just to do the smart redirect we would have to have some proxy service running highly available in front of Weird anyway, so what I'm thinking is that we can build this into the same service we were thinking of having that would just serve the pages from cache, even if the main site is not available.

Squid, a very common reverse proxy can do this natively, so it is probably just a matter of us deploying squid or maybe a more cloud native caching proxy like it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants