Skip to content

Conversation

@drewvolz
Copy link
Member

  • Allow for searching of the archived streams
  • Heuristic is last 30 years but this is open to change

Note

A client may want to pass in a custom date range, category, class (all/archived/upcoming), sort, offset in the future, though, but this does not have support for that

}

export async function search(ctx: Context) {
ctx.cacheControl(ONE_HOUR)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have an issue with caching with this endpoint? I'm seeing stale results on subsequent searches

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot could you look into whether there are caching concerns with the way this pull request is changing things for a search endpoint?

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.

3 participants