Cached Responses
Last updated
To improve performance and reliability, cached responses are served whenever available. If a requested page exists in cache, the data is returned immediately with a 100% Success Rate, bypassing common issues such as network delays, timeouts, and blocking.
This feature applies only to requests that include the ultra_premium=true parameter and is enabled by default.
Difficult Pages: Perfect for pages that are challenging to scrape.
10-Minute Updates: No older than 10 minutes cached value.
Guaranteed Success: 100% success rate for cached results.
Faster Response Times: Retrieve data quicker from cached results.
Fewer Retries: Reduced number of retries needed to serve back the response.
��Increased Efficiency: Save time and resources by reducing the need to scrape the same page multiple times.
✅Improved Reliability: Enhance the reliability of your scraping tasks with consistent and timely data retrieval.
For cases where real-time data is required, you can ensure the API serves uncached data by adding the parameter cache_control=no-cache to the URL, as shown below:
https://api.scraperapi.com/?api_key=APIKEY&ultra_premium=true&cache_control=no-cache&url=https://example.com/We tag cached responses with the sa-from-cache: 1 response header, making it easy to distinguish between a cached and non-cached response.
Last updated

