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

Feature suggestion: URL redirect cache #122

Open
Abromeit opened this issue Nov 29, 2016 · 3 comments
Open

Feature suggestion: URL redirect cache #122

Abromeit opened this issue Nov 29, 2016 · 3 comments

Comments

@Abromeit
Copy link

I'm pretty sure that i've seen cases in the past where clearing a FireFox History & Filecache didn't also remove cached 301 redirects. (While of course that doesn't have to be the case with FFs current behaviour any more.) Maybe that's an interesting target for you?

@samyk
Copy link
Owner

samyk commented Nov 29, 2016

Ahh, very interesting! I wonder where the best place to store the identifier would be, maybe in a hashtag in the URL, eg fwd.from -> fwd.to/url#hash, and fwd.to/url#hash could be a single hosted page that sends back the hash/ID via a postMessage eventListener.

@Abromeit
Copy link
Author

My first idea would be something like an iframe or AJAX-Request to a php file on the same host, which redirects to itself, just with changed query parameters ala test.php 301 -> test.php?foo=bar. But hashes might totally work, who knows ;)

(Sorry to say that i won't have time for Tests and Pull requests in this direction, but i wanted to write this idea down anyway.)

@samyk
Copy link
Owner

samyk commented Nov 29, 2016

Cool, appreciate the idea

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