Repository navigation
v1.0.2
Added
- PreScale checks your host's rules before sending load. Vercel only permits load
testing on Enterprise plans with prior notice, Netlify needs its express permission, and
Cloudflare blocks load tests unless arranged. PreScale recognises these hosts from the first
response and won't send load until you confirm you have permission:- In a terminal,
runandinvestigateexplain the rule and ask (the default is no). - In
--jsonmode and scripts, pass--host-permission(orPRESCALE_HOST_PERMISSION=1). prescale ciand the GitHub Action skip these deploys, say why in the PR comment and the
job summary, and pass the check. Sethost-permission: trueif you have permission.- The MCP server refuses them unless it was started with
PRESCALE_HOST_PERMISSION=1.
- In a terminal,
Changed
- When a CDN's firewall blocks a test, PreScale now suggests testing locally or on staging
you're allowed to load, or arranging the test with your host, instead of exempting your IP.
Fixed
- Sites behind a CDN no longer get blamed for the CDN's limits. Load-testing a site on
Vercel or Cloudflare from one machine can trip the CDN's DDoS protection, or measure its
cache instead of your app. PreScale now tells you:- Responses marked by the CDN's firewall (
x-vercel-mitigated,cf-mitigated) count as
blocked by Vercel's firewall (or Cloudflare's), not as fast successes, and the report
says from which level and how to exempt your IP for the test. - If the first request is already blocked, PreScale stops before sending any load.
- Routes answered from the CDN's cache (
x-vercel-cache,cf-cache-status,x-cache)
are called out: a slowdown there is the CDN limiting one IP, not your app's capacity. investigatereports these asedge_protectionwith fixes that apply, instead of a
concurrency ceiling.
- Responses marked by the CDN's firewall (
Full Changelog: v1.0.1...v1.0.2