Skip to content

Commit 4cb3f9c

Browse files
author
stlc-bot
committed
feat(web-search): extend page cache defaults (#1408)
Stainless-Generated-From: 513ed58a67cd7f746937206d8b71550605762ec8
1 parent 6635afc commit 4cb3f9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pkg/cmd/web.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ var webSearch = requestflag.WithInnerFlags(cli.Command{
407407
},
408408
&requestflag.InnerFlag[int64]{
409409
Name: "markdown-options.max-age-ms",
410-
Usage: "Cache TTL in ms for scraped Markdown keyed by URL + options. Default 15 days, max 30 days. Set to 0 to force a fresh scrape.",
410+
Usage: "Maximum cache age in milliseconds for result page content. Defaults to 180 days (15552000000 ms) when Markdown is requested, or 365 days (31536000000 ms) when only highlights are requested. Explicit values override either default. Maximum: 365 days. Set to 0 to force a fresh scrape.",
411411
InnerField: "maxAgeMs",
412412
},
413413
&requestflag.InnerFlag[map[string]any]{

0 commit comments

Comments
 (0)