You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Our default redirect is 301: Moved Permanently
router/lib/hanami/router.rb
Line 710 in 50826c9
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.
The text was updated successfully, but these errors were encountered: