Traffic
Traffic measures the data Storyblok delivers to your applications and visitors. It combines asset delivery, measured in bytes, with an estimated 25 KB per uncached API request. Asset size affects traffic, while API response size has no effect.
What counts as traffic
Section titled “What counts as traffic”The following counts toward a plan’s traffic quota:
- Asset delivery, including every variation that the Image Service generates (cached or not), measured in bytes.
- Uncached Content Delivery API and GraphQL API requests, at a flat 25 KB per request regardless of response size. Requests that the CDN cache serves count toward neither traffic nor the API request quota.
Management API requests count toward rate limits, not traffic.
To check a space’s actual consumption, open the space dashboard.
How to reduce traffic
Section titled “How to reduce traffic”The following practices lower traffic and improve page performance at the same time:
- Serve API requests from the CDN cache. Follow the caching concept to maximize cache hits.
- Make fewer uncached requests. Fetch relevant stories with filter queries and
starts_withinstead of filtering the response in the frontend, and raiseper_pageto reduce pagination requests. - Serve optimized assets with the Image Service. Append
/m/to an image URL to deliver it in WebP format, specify the explicit dimensions, and apply other transformations. - Serve large static files, such as videos, from your own host or an external video platform.
Related resources
Section titled “Related resources”Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.
- Need help?Contact support (opens in a new window)
- Something isn’t right?Check system status (opens in a new window)
Get in touch with the Storyblok community