Commit 5c01c81
Fix uncacheable 404s on
* Don't provide a CSP none on API endpoints & cache compact index 404s in Fastly
* Add todo to remove skip session in api controller
* Update app/controllers/api/compact_index_controller.rb
Co-authored-by: Jenny Shen <42748004+jenshenny@users.noreply.github.com>
* Add `info/<gem_name>` surrogate key
* Set action_name in the surrogate key
---------
Co-authored-by: Jenny Shen <42748004+jenshenny@users.noreply.github.com>/info/:gem_name causing bot-driven 503s (#6382)1 parent e9651ff commit 5c01c81
3 files changed
Lines changed: 16 additions & 1 deletion
File tree
- app/controllers/api
- test/integration/api
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
32 | 40 | | |
33 | 41 | | |
34 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
213 | 218 | | |
214 | 219 | | |
215 | 220 | | |
| |||
0 commit comments