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
Thought - if the redirect has only been added in the last 24 hours, make it max-age=60 or something really small.
If the redirect was added longer ago than 24 hours, make it a max-age={a day}.
These two values would be filterable.
The idea being that someone may add an incorrect redirect, and end up having to wait a day or force clear their cache before being able to confirm it has been fixed.
301s are cached by browsers (at least Firefox and Chrome) with no expiry date.
This poses a problem when we need to update redirects in some cases.
I suggest adding a header like Cache-Control: max-age= where seconds may be a fairly large number, perhaps even one day.
We may think of setting up a default behaviour and some configurable params.
The text was updated successfully, but these errors were encountered: