fixup! diigo-cache: bookmark cache in Durable Objects (goal 1c)
README: page size is PAGE_SIZE (128), not 24. Generated-by: Claude Opus 5.5
This commit is contained in:
1 parent
826153e35f
commit
3baffcab4c
1 file changed
+3
-2
@@ -23,7 +23,8 @@ goal 2 preamble).
|
|||||||
- `PublicCache` (binding `PUBLIC_DO`): shared items only — private
|
- `PublicCache` (binding `PUBLIC_DO`): shared items only — private
|
||||||
rows are dropped *before* etching (`publicOnly`), so its storage
|
rows are dropped *before* etching (`publicOnly`), so its storage
|
||||||
holds nothing private. Same cookie webapp as the private cache.
|
holds nothing private. Same cookie webapp as the private cache.
|
||||||
Public page n is diigo page n, filtered (may show fewer than 24).
|
Public page n is diigo page n, filtered (may show fewer than
|
||||||
|
`PAGE_SIZE`, 128).
|
||||||
`/public/<username>` resolves through the `idFromName("index")`
|
`/public/<username>` resolves through the `idFromName("index")`
|
||||||
registry.
|
registry.
|
||||||
- **Pages**: home's dump form (cache id + page number, POST) shows raw
|
- **Pages**: home's dump form (cache id + page number, POST) shows raw
|
||||||
@@ -93,7 +94,7 @@ diigo through *your* cookie session: each request may spend up to
|
|||||||
|
|
||||||
```ts
|
```ts
|
||||||
// cache ids ride goal-2's wiring; see the capsite checklist
|
// cache ids ride goal-2's wiring; see the capsite checklist
|
||||||
const ndjson = await env.DIIGO.dumpNdjson(4, 24);
|
const ndjson = await env.DIIGO.dumpNdjson(4); // 4 pages of PAGE_SIZE
|
||||||
```
|
```
|
||||||
|
|
||||||
## Test
|
## Test
|
||||||
|
|||||||
Reference in new issue
Block a user