Cache

Enable FastCGI caching for a website

put/v1/hosting/websites/{website_id}/cache/enable

Request

Path parameters

website_idinteger required

Headers

x-api-keystring required

API key for authentication

Request body

cache_timeinteger

Cache TTL in minutes (must be between 1 and 1500)

Example request

{
  "cache_time": 600
}

Response

Cache enabled successfully

status'ok' | 'error'

Example response

{
  "status": "ok"
}

Changes

No recorded changes to this operation across all 1 revision of this API.