Commit 4231a3d
committed
implement global CDN cache priming layer
create API that invalidates ISR builds, clears global CDN caches, and warms pages
API has zod schema, openAPI contract and documentation
refactor botconfig to depend on API by default to manage ISR
refactor sitemap to be SSR and record a build time file to track time updates over time with ISR
setup zod runtime validation configs
refactor Cloudflare worker to be primary ISR manager via cronjob API calls
Cloudflare worker no longer manually handle warming behaviors, instead relying on new priming API call to handle them
update and add testing for all the above via vitest and playwright fixtures
update GitHub Actions e2e workflow to run API test
update GitHub Actions deployment workflow to manage initial deployment CDN priming via API call1 parent 4e3eac6 commit 4231a3d
55 files changed
Lines changed: 5083 additions & 1009 deletions
File tree
- .github/workflows
- Cloudflare
- src
- __tests__
- __tests__
- api
- contract
- lib
- bot
- __tests__
- config
- __tests__
- openapi
- schemas
- performance
- revalidate
- sitemap
- __tests__
- pages
- api
- playwright
- e2e
- fixtures
- public/docs
- scripts
- styles
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
21 | 28 | | |
22 | 29 | | |
23 | 30 | | |
24 | | - | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
69 | 76 | | |
70 | 77 | | |
71 | 78 | | |
72 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
73 | 100 | | |
74 | 101 | | |
75 | | - | |
76 | | - | |
| 102 | + | |
| 103 | + | |
77 | 104 | | |
78 | 105 | | |
79 | | - | |
80 | | - | |
81 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
82 | 109 | | |
83 | 110 | | |
84 | 111 | | |
85 | 112 | | |
86 | 113 | | |
87 | 114 | | |
88 | | - | |
| 115 | + | |
89 | 116 | | |
90 | | - | |
| 117 | + | |
91 | 118 | | |
92 | | - | |
| 119 | + | |
93 | 120 | | |
94 | 121 | | |
95 | 122 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
100 | 127 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments