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