# How to clear cache for a single website

{% hint style="info" %}
This guide is geared towards merchants on Shopify using the Locksmith app. If you are arriving from elsewhere, you may still find it useful - simply down scroll to the section for the browser you are using.
{% endhint %}

## Why this is useful

If you are using Locksmith's passcode, secret link, newsletter, or location key-condition types on your Shopify store, Locksmith remembers access of specific visitors via browser cache. Once the lock is open, the locked content will be accessible and will begin to appear in searches and collection view (if applicable) for the rest of the visitor's browser session.

If you want to re-test what a new user would, you will need to use a browser with clean cache. Keep in mind that you may find it easier to simply open up an **incognito window,** or use a **different browser or device**. However, those steps can be tedious if you would like to test multiple times in quick succession.

Following the steps in this guide will help you clear the cache for a single website, **without needing to clear the cache for all websites**. GIFs included!

## Browser-specific steps

### Chrome

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/5ddd799f2c7d3a7e9ae472fc/images/5e641c9204286364bc966164/file-2HsomwevFh.gif)

1\. Right click, choose "Inspect"

2\. In the Dev Tools menu that shows up, find the "Application" tab

3\. In the Application tab, make sure that "Storage" is selected in the left menu.

4\. Click, "Clear site data", and you're done!

### Firefox

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/5ddd799f2c7d3a7e9ae472fc/images/5e641da22c7d3a7e9ae8d827/file-Sr47LG4xWE.gif)

1\. Directly to the left of the URL bar, click on the lock icon.

2\. Choose "Clear Cookies and Site Data" and the very bottom of the drop down

3\. Make sure you choose your site only, and click Remove.

4\. You're done!

### Safari

![](https://d33v4339jhl8k0.cloudfront.net/docs/assets/5ddd799f2c7d3a7e9ae472fc/images/5e641fc82c7d3a7e9ae8d82c/file-pe35Od54lZ.gif)

1\. Go to Safari > Settings > Privacy

2\. Search for your website.

3\. Click on your website, and click "Remove"

4\. You're done.

### Internet Explorer

1. Go to your website (that you want to delete cookies and cache for)
2. Launch Developer Tools ( or press F12)
3. Go to the Network tab
4. Click the Clear browser cache button, or press Ctrl + R.


---

# 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://www.locksmith.guide/tutorials/more/how-to-clear-cache-for-a-single-website.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.
