Wire data_source into Document render, register Endpoint handlers via run_artifact, restore marqdo-blog as an Artifact site, and replace old compose_* web golds with ADR 0007 fixtures and docs. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
272 B
Markdown
16 lines
272 B
Markdown
---
|
|
title: ext/data cache smoke
|
|
import cache:ext/data/cache.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
**c = > cache.cache url="memory:"**
|
|
> `c`.set key="k" value="v" ttl=60
|
|
**got = > `c`.get key="k"**
|
|
**val = [value](got)**
|
|
1. `val` == "v"
|
|
> print text=cache-ok
|
|
2. *
|
|
> print text=cache-fail
|