debugPageCache
Debug page cache object
debugPageCache(
input: DebugPageCacheInput
): DebugPageCachePayload!
Example
- Query
- Variables
- Response
mutation ($input: DebugPageCacheInput) {
debugPageCache(input: $input) {
edge {
statusCode
}
insights {
category
final
html
name
type
}
origin {
statusCode
}
success
url
}
}
{
"input": {
"appId": 42,
"environmentId": 42,
"pop": "pop",
"requestHeaders": [
{
"name": "A name",
"value": "value"
}
],
"requestMethod": "requestMethod",
"url": "https://example.com"
}
}
{
"data": {
"debugPageCache": {
"edge": {
"statusCode": 42
},
"insights": [
{
"category": "category",
"final": true,
"html": "html",
"name": "A name",
"type": "type"
}
],
"origin": {
"statusCode": 42
},
"success": true,
"url": "https://example.com"
}
}
}
Arguments
debugPageCache.input ● DebugPageCacheInput input common
The application, environment, URL, and request details to debug.
Type
DebugPageCachePayload object common
The result of a page cache debug request.