Shared cache tutorial
Code service use
To learn how to perform cache operations in code services, go to the ClearBlade library.
Add a shared cache
1. Click Shared Caches within a system.
![](../__attachments/2343895048/image-20230405-192713.png?inst-v=e4dc11f0-ab6d-46f1-b400-e39a2dbf1bba)
2. Click Add Shared Cache.
![image-20240130-191402.png](../__attachments/2343895048/image-20240130-191402.png?inst-v=e4dc11f0-ab6d-46f1-b400-e39a2dbf1bba)
3. Add a name, TTL, and description, and click create.
![](../__attachments/2343895048/image-20230405-192916.png?inst-v=e4dc11f0-ab6d-46f1-b400-e39a2dbf1bba)
4. Add permissions to user roles as appropriate and click Add permissions.
![](../__attachments/2343895048/image-20230405-193030.png?inst-v=e4dc11f0-ab6d-46f1-b400-e39a2dbf1bba)
Delete/update shared cache
Click the cache to edit or delete it:
![](../__attachments/2343895048/image-20230405-193305.png?inst-v=e4dc11f0-ab6d-46f1-b400-e39a2dbf1bba)
![](../__attachments/2343895048/image-20230405-193328.png?inst-v=e4dc11f0-ab6d-46f1-b400-e39a2dbf1bba)