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

Remove cached redirect #16

Open
hoverjet opened this issue Feb 21, 2018 · 3 comments
Open

Remove cached redirect #16

hoverjet opened this issue Feb 21, 2018 · 3 comments

Comments

@hoverjet
Copy link

After disabling or removing redirect rules "old" user still have cached redirect in response "301 Moved Permanently (from disk cache)". Do you have any advice on how to get around this? Thanks!

@hoverjet
Copy link
Author

As I understand 301 supposed to be permanent so by default it's never expiring in the most browser. Maybe it would be useful to have redirect type (301, 302) and Cache-Control and Expires header settings for each redirect rule.

@Pyo25
Copy link

Pyo25 commented Jun 5, 2018

Would be great to be able to customize the redirect type and expiration time.
It shouldn't be complex to implement.

@efatsi and @brianjlandau : open for PRs ?

@efatsi
Copy link
Contributor

efatsi commented Jun 5, 2018

Very open to PRs. Sorry for the lack of responses here lately, we haven't found ourselves using this gem in quite some time.

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

3 participants