Commit 68e2581
committed
feat: add SSR worker for public notes SEO
Fixes #47
- Add Cloudflare Worker for server-side rendering of /p/* routes
- Generate full HTML with content for search engine indexing
- Include SEO meta tags, Open Graph, Twitter Cards, JSON-LD schema
- Strip sensitive data attributes (note IDs) from rendered content
- Edge caching: 1hr browser, 24hr CDN
- Update main README with SSR documentation reference1 parent 3405c6a commit 68e2581
File tree
7 files changed
+1483
-3
lines changed- worker
- src
7 files changed
+1483
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| 105 | + | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
418 | 421 | | |
419 | 422 | | |
420 | 423 | | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
421 | 427 | | |
422 | 428 | | |
423 | 429 | | |
| |||
0 commit comments