Documentation Index
Fetch the complete documentation index at: https://docs.lemondata.cc/llms.txt
Use this file to discover all available pages before exploring further.
Overview
LemonData automatically manages caching to optimize performance and reduce costs. While there is no public endpoint to clear cache entries, you have full control over caching behavior through request-level controls. This page is a usage guide for request-side cache controls. For strict API reference pages, see:Bypassing Cache
To get fresh responses without using cache, use thecache_control parameter in your request:
Cache Control Options
| Type | Effect |
|---|---|
no_cache | Skip cache lookup and storage; always get a fresh response |
no_store | Don’t store this response in cache |
response_only | Only use exact match cache (skip semantic) |
semantic_only | Only use semantic cache (skip exact match) |
Cache Feedback
If you receive an incorrect cached response, you can report it: Use the cache-hit request/cache entry identifier from your own organization; arbitrary identifiers are rejected.Use Cases
Testing fresh responses
Testing fresh responses
During development, use
cache_control: {"type": "no_cache"} to ensure you’re getting fresh API responses.Time-sensitive queries
Time-sensitive queries
For real-time data like stock prices or weather, always use
no_cache to get current information.Debugging
Debugging
When debugging unexpected responses, use
no_cache to rule out cached results.For more details on caching, see the Caching Guide.