Set Cache Mode of Web Program
# Set Cache Mode of Web Program
Path:
/api/webview_config
Method: PUT
Content-type: application/json; charset=utf-8
API Description: This can be used to set the cache mode of web programs.
Note: This function is supported only by the player of version 1.71.6 or above.
Request
Name | Type | Example | Description |
---|---|---|---|
cache_mode | int | 1 | Cache mode of web program; 0: Upload mode (default), 1: Upload cache unless the cache expires, 3: Upload cache only, without the use of network |
Example
{"cache_mode":1}