Skip to content

Commit 2565e68

Browse files
committed
feat: update documentation navigation and enhance site metadata for improved clarity and SEO, including new backends section and refined descriptions
1 parent af8bcf6 commit 2565e68

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

scripts/build_docs_site.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"Usage",
4545
[
4646
("Usage Patterns", "usage-patterns.md"),
47+
("Backends & setup", "backends.md"),
4748
("FastAPI Integration", "tutorials/fastapi.md"),
4849
("FastAPI Redis Caching Tutorial", "tutorials/fastapi-redis-caching.md"),
4950
("SQLAlchemy Integration", "tutorials/sqlalchemy.md"),
@@ -52,7 +53,6 @@
5253
(
5354
"Advanced",
5455
[
55-
("Backends & Setup", "backends.md"),
5656
("Vector Search", "vector-search.md"),
5757
("Monitoring & Health", "monitoring.md"),
5858
],

site-src/templates/index.html.jinja2

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
6-
<title>YokedCache — Python caching for FastAPI with Redis</title>
7-
<meta name="description" content="Async Python caching library with Redis auto-invalidation, vector search cache helpers, FastAPI integration, and production monitoring. MIT licensed.">
8-
<meta name="keywords" content="python, fastapi, redis, sqlalchemy, caching, cache invalidation, memcached, prometheus, yokedcache, Joshua Kac, Project Yoked">
6+
<title>YokedCache — Async multi-backend cache for Python</title>
7+
<meta name="description" content="Async Python cache with the same API across memory, Redis, Memcached, disk, and SQLite. Tag invalidation, optional Starlette HTTP caching, metrics, and FastAPI-friendly helpers. MIT licensed.">
8+
<meta name="keywords" content="python, async cache, redis, memcached, sqlalchemy, caching, cache invalidation, starlette, fastapi, prometheus, yokedcache, Joshua Kac, Project Yoked">
99
<meta name="author" content="Joshua Kac">
1010
<meta name="robots" content="index,follow">
1111
<link rel="canonical" href="{{ home_canonical }}">
@@ -15,15 +15,15 @@
1515
<meta property="og:type" content="website">
1616
<meta property="og:locale" content="en_US">
1717
<meta property="og:url" content="{{ home_canonical }}">
18-
<meta property="og:title" content="YokedCache — Python caching for FastAPI with Redis">
19-
<meta property="og:description" content="Async Python caching library with Redis auto-invalidation, vector search cache helpers, FastAPI integration, and production monitoring. MIT licensed.">
18+
<meta property="og:title" content="YokedCache — Async multi-backend cache for Python">
19+
<meta property="og:description" content="Async Python cache with the same API across memory, Redis, Memcached, disk, and SQLite. Tag invalidation, optional HTTP middleware, metrics. MIT licensed.">
2020
<meta property="og:image" content="{{ og_image_url }}">
2121
<meta property="og:image:width" content="1200">
2222
<meta property="og:image:height" content="630">
2323
<meta property="og:site_name" content="YokedCache">
2424
<meta name="twitter:card" content="summary_large_image">
25-
<meta name="twitter:title" content="YokedCache — Python caching for FastAPI with Redis">
26-
<meta name="twitter:description" content="Async Python caching library with Redis auto-invalidation, vector search cache helpers, FastAPI integration, and production monitoring. MIT licensed.">
25+
<meta name="twitter:title" content="YokedCache — Async multi-backend cache for Python">
26+
<meta name="twitter:description" content="Same async API for memory, Redis, Memcached, disk, and SQLite. Invalidation, optional HTTP caching, observability. MIT licensed.">
2727
<meta name="twitter:image" content="{{ og_image_url }}">
2828
<link rel="preconnect" href="https://fonts.googleapis.com">
2929
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@@ -41,6 +41,7 @@
4141
"offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" },
4242
"url": "{{ site_url }}",
4343
"downloadUrl": "https://pypi.org/project/yokedcache/",
44+
"description": "Async multi-backend Python cache: memory, Redis, Memcached, disk, SQLite; tag invalidation; optional Starlette HTTP caching.",
4445
"codeRepository": "{{ github_repo }}",
4546
"license": "https://opensource.org/licenses/MIT",
4647
"author": {
@@ -94,10 +95,10 @@
9495
<div class="landing">
9596
<section class="hero">
9697
<div class="hero-eyebrow">Open source · MIT License</div>
97-
<h1>Python caching built<br>for FastAPI</h1>
98+
<h1>One async cache API,<br>your choice of backend</h1>
9899
<p class="hero-sub">
99-
Redis-backed cache with automatic invalidation, optional vector-search helpers,
100-
multi-backend routing, and metrics — without bolting on a separate doc stack.
100+
Memory, Redis, Memcached, disk, or SQLite — same invalidation and patterns.
101+
Optional Starlette HTTP caching, FastAPI-ready decorators, metrics, and a small CLI.
101102
</p>
102103
<div class="install-pill">
103104
<span class="prompt">$</span>
@@ -128,13 +129,13 @@
128129
</div>
129130
<div class="feature-card">
130131
<div class="feature-icon">◇</div>
131-
<h3>FastAPI-first</h3>
132-
<p>Decorators and dependencies that fit existing endpoints without rewriting your app around the cache.</p>
132+
<h3>Multi-backend</h3>
133+
<p>Redis, Memcached, in-process memory, disk, and SQLite share one interface — swap stores without rewriting call sites.</p>
133134
</div>
134135
<div class="feature-card">
135136
<div class="feature-icon">◇</div>
136-
<h3>Multi-backend</h3>
137-
<p>Redis, Memcached, memory, disk, and SQLite paths with a consistent configuration model.</p>
137+
<h3>Async everywhere</h3>
138+
<p>Use from FastAPI, Starlette, Django async views, workers, or plain <code>asyncio</code>. Optional dependency helpers for FastAPI.</p>
138139
</div>
139140
<div class="feature-card">
140141
<div class="feature-icon">◇</div>
@@ -144,7 +145,7 @@
144145
<div class="feature-card">
145146
<div class="feature-icon">◇</div>
146147
<h3>HTTP caching</h3>
147-
<p>ETag and Cache-Control middleware for 304-friendly APIs when you want browser and CDN behavior aligned.</p>
148+
<p>Starlette ASGI middleware for ETag and Cache-Control 304-friendly responses when you enable the <code>web</code> extra.</p>
148149
</div>
149150
<div class="feature-card">
150151
<div class="feature-icon">◇</div>
@@ -176,8 +177,8 @@
176177
<td><a href="getting-started.html">Getting started →</a></td>
177178
</tr>
178179
<tr>
179-
<td>Usage patterns and FastAPI</td>
180-
<td><a href="usage-patterns.html">Usage patterns →</a> · <a href="tutorials/fastapi.html">FastAPI →</a></td>
180+
<td>Patterns, backends, FastAPI</td>
181+
<td><a href="usage-patterns.html">Usage patterns →</a> · <a href="backends.html">Backends →</a> · <a href="tutorials/fastapi.html">FastAPI →</a></td>
181182
</tr>
182183
<tr>
183184
<td>Python API</td>

0 commit comments

Comments
 (0)