Skip to content

feat: add maxCacheAge parameter to SDK#116

Open
seatedro wants to merge 2 commits intomasterfrom
devin/1768273752-max-cache-age
Open

feat: add maxCacheAge parameter to SDK#116
seatedro wants to merge 2 commits intomasterfrom
devin/1768273752-max-cache-age

Conversation

@seatedro
Copy link
Copy Markdown

@seatedro seatedro commented Jan 13, 2026

feat: add maxCacheAge parameter to SDK

Summary

Adds the maxCacheAge parameter to the JavaScript SDK, allowing users to control cache freshness for content retrieval. This parameter specifies the maximum age (in seconds) of cached content before triggering a live crawl.

Changes:

  • Added maxCacheAge?: number to ContentsOptions type
  • Added JSDoc documentation for the parameter
  • Added maxCacheAge to extractContentsOptions destructuring and assignment

@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@seatedro seatedro closed this Jan 13, 2026
@seatedro seatedro reopened this Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant