Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
litespeed_wiki:lsmcd:commands:touch [2016/04/07 14:41] Rob Holda created |
litespeed_wiki:lsmcd:commands:touch [2016/04/07 19:38] (current) Rob Holda |
||
---|---|---|---|
Line 8: | Line 8: | ||
**parameters:** | **parameters:** | ||
+ | * **key** - The name of the unique key by which data is accessed. | ||
* **TTL** - The length of time (in seconds) the key/value pair will be stored in cache. A 0 value means the data will “never expire” and should not be removed from the cache unless required. If the TTL is more than 30 days then LSMCD interprets it as UNIX timestamp for expiration. | * **TTL** - The length of time (in seconds) the key/value pair will be stored in cache. A 0 value means the data will “never expire” and should not be removed from the cache unless required. If the TTL is more than 30 days then LSMCD interprets it as UNIX timestamp for expiration. | ||
* **noreply** - This **optional** parameter tells the server not to send any reply. | * **noreply** - This **optional** parameter tells the server not to send any reply. | ||
Line 18: | Line 19: | ||
</code> | </code> | ||
**output notes:** | **output notes:** | ||
- | * **1200** → set "mykey" to be stored for 20 minutes (1200 seconds). | + | * **1200** → set "mykey" to be stored for 20 minutes (1200 seconds) from the moment the **touch** command is run. |