Create a Cache

Add the domain Cache

typetype of the cache.
Required: true
Type: string (dir: directory, ext: file, pattern: advanced)
pathpath of the cache.
Required: true
Type: string
ttlCache time configuration.
Required: true
Type: integer between 1 and 31536000, or 0 for never cache

Note: ttl of advanced cache can not be zero.

Requires API Key as apikey request header or apikey URL query parameter.

Rate Limit: 5/min

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Domain. It's the subdomain that you attached to your site domain (root domain).

Body Params

Create cache

string
enum

type of the cache

Allowed:
string

path of the cache

integer
0 to 31536000

Cache time configuration (0 for never cache)

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json