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

Reconsider default redirect code #283

Open
cllns opened this issue Feb 28, 2025 · 0 comments
Open

Reconsider default redirect code #283

cllns opened this issue Feb 28, 2025 · 0 comments

Comments

@cllns
Copy link
Member

cllns commented Feb 28, 2025

Our default redirect is 301: Moved Permanently

DEFAULT_REDIRECT_CODE = 301

In browsers, this is often cached and it can be hard to break that cache. I think we should consider switching our default to 302: Found, which is a temporary redirect.

This is a breaking change so it'd have to be for a 3.0 release. The other option would be to keep 301 as the unconfigured default, then make this a configurable value, then generate new apps with the configuration set. But that seems like a lot of work for something so minor.

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

1 participant