---
title: setReusableSandboxOptions
summary: Configure reuse of the same underlying sandbox for multiple requests, which can improve performance by avoiding the overhead of initializing a new sandbox for each request.
url: https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/experimental/fn.setReusableSandboxOptions/
---

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

```javascript
setReusableSandboxOptions(options: ReusableSandboxOptions): void
```

Configure reuse of the same underlying sandbox for multiple requests,
which can improve performance by avoiding the overhead of initializing a
new sandbox for each request.

**Note**: Can only be used during build-time initialization, not when
processing requests.

**Parameters**

- `options`: `ReusableSandboxOptions` — Configuration options for sandbox reuse.

**Returns**

`void`
