command:cache

cacheClear

cacheClear --component= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Clear cache data of a specified component.

  • --component
    One of ‘Zend Data Cache’, ‘Zend Page Cache’, ‘Zend Optimizer+’
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

cacheClear

cacheClear --component= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Clear cache data of a specified component.

  • --component
    One of ‘Zend Data Cache’, ‘Zend Page Cache’, ‘Zend Optimizer+’, ’Zend OPcache’
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.

datacacheClear

datacacheClear --keys= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=] 

Clear data cache stored data.

  • --keys
    The stored items to clear. This is an array of explicit items to be cleared from the cache. This array must have at least one value. If an item has a namespace it is formatted <namespace>::<item-key>To Clear a namespace of all items, use the format (without any key specified): ‘<namespace>::
  • --output-format
    Output format. Default is "xml", but you can use "json", or "kv" for key-value.