# Builder Setting

**Builder Setting** is a feature in **ONEWEB Page Designer** that allows users to **clear the build and preview cache** stored on the server for Page Designer.

This feature is particularly useful during page development and testing, where cached assets or previews may prevent the latest UI changes from appearing correctly.

***

### What Builder Setting Does

Builder Setting is used to:

* Clear **Page Designer build cache**
* Clear **Preview cache** stored on the server
* Force regeneration of pages during build or preview
* Ensure the latest UI changes are reflected accurately

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2Fup6Ku5PJUJW6iPtGyTdy%2Fimage.png?alt=media&#x26;token=ab044768-a1e8-4545-aacb-f360785c67a5" alt=""><figcaption></figcaption></figure>

***

### When to Use Builder Setting

Builder Setting is commonly used in the following scenarios:

* UI changes are **not reflected** in Preview mode
* Styles, layout, or scripts appear outdated
* Cached resources prevent updated assets from loading
* After updating **custom dependencies**, **extensions**, or **themes**
* During troubleshooting of inconsistent preview behavior

Clearing the cache forces Page Designer to rebuild pages using the latest configuration.

***

### How It Works

When Builder Setting is triggered:

* Existing cached build and preview files on the server are removed
* A fresh build is generated on the next preview or run
* No page content or configuration is deleted
* Only temporary cached artifacts are cleared

This process does **not** affect application data or logic.

***

### Important Notes

* Clearing the build cache may increase initial build time on the next preview
* Should be used **only when necessary**, not as a routine action
* Recommended in development and testing environments
* In shared environments, use cautiously to avoid unnecessary rebuilds for other users

***

### Design Perspective

As part of **Page Designer troubleshooting best practices**:

* Use Builder Setting when preview results do not match expected changes
* Combine with browser refresh or cache clear if needed
* Document when cache clearing is performed during testing
* Avoid relying on cache clearing to fix underlying configuration issues

Builder Setting is a **supporting utility**, not a substitute for proper configuration and deployment workflows.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.onewebstack.com/building-apps/ui-page-designer/ux-ui-components/pages/page-features/builder-setting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
