---
title: PurgeOptions
url: https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/cache/interface.PurgeOptions/
---

**Kind:** Interface  
**Module:** [cache](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/cache/)  
**Package:** @fastly/js-compute 4.0.1  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/cache.d.ts#L2

## Properties

### scope

**Type:** `'pop' | 'global'`  
**Source:** https://github.com/fastly/js-compute-runtime/blob/70cf30af4e657879b2d1e7eafab880e39e3a3f7d/types/cache.d.ts#L9

Where to purge the content from.

"pop" - This will remove the content from the POP that contains the currently executing instance.
"global" - This will remove the content from all of Fastly.
