Avatar photo

Super-Quick Guide to Query Caching

Did you know we peeled off the “Beta” label on our Query Caching feature?

We wanted to make sure you had an easy way to take your most important repeated queries significantly faster. If you have query results you want many people to see, caching will make their experience so much better. By simply adding the “max_age” property to your query, you can specify how long you’re willing to quickly serve an existing result before we recalculate it.

https://api.keen.io/3.0/projects/{project_id}/queries/count?api_key={read_key}&event_collection={event_collection}&max_age={age_in_seconds}

Check out the detailed blog post and docs if you’d like to learn more! If you have any questions please don’t hesitate to let us know.