This topic describes the syntax, description, parameters, and return values of cache functions. This topic also provides examples of these functions.
set_cache_ttl
The following table describes the details about this function.
| Item | Description |
|---|---|
| Syntax | set_cache_ttl(type, ttl)
|
| Description | Sets a time-to-live (TTL) value for cached resources. |
| Parameter |
|
| Return value | If the function succeeds, true is returned. Otherwise, false is returned.
|
| Example | Note
|