= Adding Cache Entries
Add data to caches with the {brandname} CLI.

.Prerequisites
* Create a cache named "mycache" and `cd` into it.
+
[source,options="nowrap",subs=attributes+]
----
[//containers/default]> cd caches/mycache
----

.Procedure
. Put an entry into "mycache".
+
[source,options="nowrap",subs=attributes+]
----
[//containers/default/caches/mycache]> put hello world
----
+
[TIP]
====
If not in the context of a cache, use the `--cache=` parameter. For example:

----
[//containers/default]> put --cache=mycache hello world
----
====
+
. Get the entry to verify it.
+
[source,options="nowrap",subs=attributes+]
----
[//containers/default/caches/mycache]> get hello
world
----
