Commit d095e54
committed
fix(@angular/ssr): add Cache-Control and Vary headers to redirects
Always include Cache-Control: no-store and Vary: X-Forwarded-Prefix headers in redirect responses. This prevents improper caching of redirects and ensures that down-stream caches or proxies correctly handle the X-Forwarded-Prefix header.1 parent 81856fd commit d095e54
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
0 commit comments