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

Redirect should be done with 302 instead of 301 #1

Open
perdix opened this issue Feb 1, 2024 · 0 comments
Open

Redirect should be done with 302 instead of 301 #1

perdix opened this issue Feb 1, 2024 · 0 comments

Comments

@perdix
Copy link

perdix commented Feb 1, 2024

Hi Ben,

thanks for all the amazing work you do on Youtube. I like it a lot and it helps me improving my skills. 🤩

Recently, I struggled a lot about a caching issue.
I found out that the reason was that you did the redirects (if no session is available) in your code with 301 (permanently moved)
This triggers browser caching which is not what desired.

Maybe you want to update your repo so that other persons do not run into the same issue!

All the best, keep up your great work!

Paul

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

1 participant