API referenceSections

SitePerf

SitePerf object
  • static_cache boolean required

    Browsers keep static files for 7 days

  • static_max_age_hours integer optional

    How long browsers keep static files when set by the tuner (ADR 0116); 0 is 7 days

  • compression boolean required

    Also compress responses made by code; needs the IIS performance features

  • always_on boolean required

    Keep the pool running and warm it up; needs the IIS performance features

  • cpu_limit integer optional

    Pool's CPU cap, % of the machine, 0 off; set with /limits (ADR 0036)

  • cpu_cores number optional

    The plan's cap in cores cpu_limit was worked out from on this server (ADR 0126); absent when in percent

  • app_cpu_cores number optional

    Same for the application's cap

  • memory_mb integer optional

    Recycle the pool past this private memory, 0 off; set with /limits

  • shield boolean optional

    Block an address that sends too many requests (IIS Dynamic IP Restrictions, ADR 0052); not a WAF

  • app_cpu_limit integer optional

    The site's application's CPU cap (ADR 0091), 0 off

  • app_memory_mb integer optional

    The site's application's memory cap, 0 off

  • limits_custom boolean optional

    Caps set by the provider by hand; otherwise they follow the plan

Used by

PUT/api/v1/tenants/{tid}/sites/{id}/performance 202Apply the site's speed settings (ADR 0032)