You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: types/globals.d.ts
+3-3
Original file line number
Diff line number
Diff line change
@@ -1364,7 +1364,7 @@ interface Response extends Body {
1364
1364
*/
1365
1365
readonlystale: boolean|undefined;
1366
1366
/**
1367
-
* Fastly-specific property - Get the Time to Live (TTL) in the cache for this response, if it is cached.
1367
+
* Fastly-specific property - Get the Time to Live (TTL) in the cache for this response in seconds, if it is cached.
1368
1368
*
1369
1369
* The TTL determines the duration of "freshness" for the cached response
1370
1370
* after it is inserted into the cache.
@@ -1373,13 +1373,13 @@ interface Response extends Body {
1373
1373
*/
1374
1374
ttl: number|undefined;
1375
1375
/**
1376
-
* Fastly-specific property - The current age of the response, if it is cached.
1376
+
* Fastly-specific property - The current age of the response in seconds, if it is cached.
1377
1377
*
1378
1378
* Undefined if the response is not cached or the environment does not support the HTTP Cache hostcalls. May be modified prior to injection into the cache.
1379
1379
*/
1380
1380
readonlyage: number|undefined;
1381
1381
/**
1382
-
* Fastly-specific property - The time for which the response can safely be used despite being considered stale, if it is cached.
1382
+
* Fastly-specific property - The time in seconds for which the response can safely be used despite being considered stale, if it is cached.
1383
1383
*
1384
1384
* Undefined if the response is not cached or the environment does not support the HTTP Cache hostcalls. May be modified prior to injection into the cache.
0 commit comments