---
title: PurgeOptions
summary: PurgeOptions control the behavior of purge operations.
url: https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/purge/struct.PurgeOptions/
---

**Kind:** Struct  
**Module:** [purge](https://www.fastly.com/documentation/reference/compute/sdks/go/compute-sdk-go/purge/)  
**Package:** compute-sdk-go v1.11.0  
**Source:** https://github.com/fastly/compute-sdk-go/blob/d6bf71b04516ed72d6018cab6fff701a865f86e5/purge/purge.go#L12

```go
type PurgeOptions struct {
	Soft bool
}
```

PurgeOptions control the behavior of purge operations.

## Fields

### Soft

**Type:** `bool`

Whether to soft purge the item.  A soft purge marks a cached
object as stale, rather than invalidating it.
