> ## Documentation Index
> Fetch the complete documentation index at: https://wundergraphinc-brendan-add-sof-link.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Push

### Usage

```
wgc router cache push <graph_name> -n <namesapce_name> -f <path_to_file>
```

### Description

Pushes new cache warmer operations to the registry. These manually added operations will have precedence over the operations computed based on latency.

### Options

* `-n, --namespace` : The namespace of the federated graph (Default: "default").

* `-o, --operation-name <operation-name>` : The name of the operation.

* `-f, --file <file>` : The file containing the operation to push. Supports `.graphql` and `.gql`

* `-p, --persisted-operation-id <persisted-operation-id>` : The ID of the persisted operation to be pushed.

<Info>
  If both a file and a persisted operation ID are provided, the persisted operation ID takes precedence.
</Info>

### **Examples**

Push an operation using a file:

```bash theme={null}
wgc router cache push my-graph -f operation.graphql
```

Push an operation using a persisted operation ID:

```bash theme={null}
wgc router cache push my-graph -p fb16e56456d13f6e52a4a2316b79
```
