captbaritone / urlmeme

A meme generator where the URL is the user interface
http://urlme.me
MIT License
123 stars 18 forks source link

Consider 301 redirect to canonical URL #27

Open captbaritone opened 6 years ago

captbaritone commented 6 years ago

Currently it's possible for the addition of a new meme, or a change in our algorithm to change how existing URLs render.

This is probably always true to some degree, but we could help a bit by redirecting to some kind of canonical representation of the image. Maybe the explicit file name?

That way at least any any URL that has been resolved will be stable.

lamby commented 6 years ago

This would certainly make it clearer what is happening if you go to, for example, http://urlme.me/loldoesnotexist/whut.

captbaritone commented 6 years ago

I think the file name would be good thing to replace the first parameter with, since the file system will enforce that they are unique. Then we just need to ensure images are purely additive. And that our algorithm prefers exact matches.

-- Jordan Eldredge (mobile)

On May 30, 2018, at 12:35 AM, Chris Lamb notifications@github.com wrote:

This would certainly make it clearer what is happening if you go to, for example, http://urlme.me/loldoesnotexist/whut.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.