Practice
Learn
← Quit
0 / 0 correct
System Design
Hard
1 of 10
URL shortener: should redirects use 301 (permanent) or 302 (temporary)?
A
Always 200 with the page content
B
Always 404
C
302 if you need every click to reach your servers for analytics; 301 lets browsers cache and skip you
D
301 always, because it gives more analytics