# Outside a Config File: Storage Usage

**URL:** <https://discuss.circleci.com/t/outside-a-config-file-storage-usage/48624>\
**Category:** Self Service Configuration Review\
**Tags:** self-serve, config-review, manual\
**Created:** [July 11, 2023, 6:44pm UTC](https://discuss.circleci.com/t/outside-a-config-file-storage-usage/48624 "2023-07-11T18:44:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felixshiftellecon](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/felixshiftellecon/32/33360_2.png) [@felixshiftellecon](https://discuss.circleci.com/u/felixshiftellecon)\
**Post date:** [July 11, 2023, 6:44pm UTC](https://discuss.circleci.com/t/outside-a-config-file-storage-usage/48624/1 "2023-07-11T18:44:08Z")

</div>

# Outside a Config File

## Storage Usage

### Caching

Inspect the output of [caching steps](https://circleci.com/docs/caching/) in [jobs](https://circleci.com/docs/glossary/#job) to ensure cache keys are regularly being found. If not, consider changing the cache key to be less specific or use a [fallback key](https://circleci.com/docs/caching-strategy/#partial-dependency-caching-strategies).

For caching steps that are taking a long time, consider breaking up the cache into multiple caches. If the job is on the docker executor, consider enabling [RAM disk](https://circleci.com/docs/using-docker/#ram-disks) to speed up I/O operations.

### Workspaces

Ensure data being added to a [workspace](https://circleci.com/docs/glossary/#workspace) is being used downstream and is accessible.

For workspace steps that are taking a long time, analyze the data for anything unnecessary. If the job is on the docker executor, consider enabling RAM disk to speed up I/O operations.

### Artifacts

Review how [artifacts](https://circleci.com/docs/artifacts/) are used by the team that works in the project and see if adding or removing them would be helpful.

In most cases if artifacts are uploaded to cloud storage, like an s3 bucket, they do not also need to be stored in CircleCI.

### Usage Controls

Most organizations can benefit from reducing the default [storage retention](https://circleci.com/docs/persist-data) periods without seeing impact, which can save some [credits](https://circleci.com/docs/credits/). The common recommendation is below but should be adjusted based on use case and user feedback.

| Setting | CircleCI Default | Recommendation |
| --- | --- | --- |
| Artifacts | 30 days | 7 days |
| Workspaces | 15 days | 3 days |
| Caches | 15 days | 7 days |

* * *

> **▶ Next Step: [Outside the Config: Project Settings](https://discuss.circleci.com/t/outside-a-config-file-project-settings/48625)**
> 
> **◀ Previous Step: [Outside the Config: Secrets Management](https://discuss.circleci.com/t/outside-a-config-file-secrets-management/48623)**

> **📑 Table of Contents**
>
> [Self Service Configuration Review Overview](https://discuss.circleci.com/t/overview-self-service-configuration-review/48598)
> 
> 1. [Configuration Review Preparation](https://discuss.circleci.com/t/configuration-review-preparation/48607)
> - [Document the Config Review](https://discuss.circleci.com/t/document-the-config-review/48608)
> - [Review CircleCI Features](https://discuss.circleci.com/t/review-circleci-features/48609)
> - [Snapshot Project Metrics](https://discuss.circleci.com/t/snapshot-project-metrics/48610)
> 
> 2. [Review Each Job for Improvement Opportunities](https://discuss.circleci.com/t/review-each-job-for-improvement-opportunities/48611)
> - [General Job Opportunities](https://discuss.circleci.com/t/general-job-opportunities/48612)
> - [Execution Environment Opportunities](https://discuss.circleci.com/t/execution-environment-opportunities/48613)
> - [Opportunities for Jobs with High Duration](https://discuss.circleci.com/t/opportunities-for-jobs-with-high-duration/48614)
> 
> 3. [Review Each Workflow for Improvement Opportunities](https://discuss.circleci.com/t/review-each-workflow-for-improvement-opportunities/48615)
> 4. [High Level Improvement Opportunities](https://discuss.circleci.com/t/high-level-improvement-opportunities/48616)
> - [Inside the Config](https://discuss.circleci.com/t/high-level-improvement-opportunities/48616#inside-the-config-3)
> - [Config Security](https://discuss.circleci.com/t/config-security-opportunities/48618)
> - [Reusable Config](https://discuss.circleci.com/t/reusable-config-opportunities/48619)
> - [Dynamic Configuration](https://discuss.circleci.com/t/dynamic-configuration/48620)
> 
> - [Outside the Config](https://discuss.circleci.com/t/high-level-improvement-opportunities/48616#outside-the-config-4)
> - [Security Settings](https://discuss.circleci.com/t/outside-a-config-file-security-settings/48622)
> - [Secret Management](https://discuss.circleci.com/t/outside-a-config-file-secrets-management/48623)
> - **[Storage Usage](https://discuss.circleci.com/t/outside-a-config-file-storage-usage/48624)**
> - [Project Settings](https://discuss.circleci.com/t/outside-a-config-file-project-settings/48625)
> 
> 5. [Finalize Review](https://discuss.circleci.com/t/finalize-the-config-review/48626)
