drush cache:setfor drush 9x

Cache an object expressed in JSON or var_export() format.

drush cache:set

  • Aliases

    cache:set has 2 alias/es:

    drush cs

    drush cache-set

  • Arguments

    cache:set accepts 5 argument/s:

    cid* : The id of the object to set.

    data* : The object to set in the cache. Use - to read the object from STDIN.

    bin : The cache bin to store the object in.

    expire : 'CACHE_PERMANENT', or a Unix timestamp.

    tags : A comma delimited list of cache tags.

  • Options

    cache:set accepts 5 option/s:


    --input-format : input-format


    --cache-get : cache-get


    --notify : notify


    --druplicon : druplicon


    --xh-link : xh-link

  • Comments

    comments powered by Disqus