# Application Profiles

## Overview

The Application Profiles tab allows you to set appropriate security behaviors for your web applications.&#x20;

![Application Profiles View](https://3134296238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LuRghgerfT6t9aVOOha%2F-Lug9hEqCiG3DM_eUrTq%2F-LugBeUjG4YbHTWXglsz%2Fimage.png?alt=media\&token=8b96f6e5-fe86-446d-b5bf-a7184a5bfcb1)

Before configuring, ensure that the correct site is selected via the dropdown list at the upper right.

To add an entry to the list, click on the "+" button. To delete an entry, click on the "Remove" link next to its name.

{% hint style="info" %}
As shown in the above screenshot, the default (“/”)  profile will always be present. It applies to the entire site, except for those parts of the site that have specific profiles assigned to them.
{% endhint %}

Here are the fields for each Application Profile.

| Field Name         | Description                                                                                                                                                                                                                                                                   |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Label**          | The name you have assigned to this particular entry. In the example screenshot, the labels are “Static Content” , “Default,” and “JS CSS".                                                                                                                                    |
| **Pattern**        | The list of extensions to which this profile will be applied, expressed as PCRE (Perl Compatible Regular Expressions). An explanation and some examples are here: [Pattern Matching Syntax](https://waap.docs.link11.com/v2.12.0/reference-information-1/pattern-samples).    |
| **Protect**        | When enabled, this tells Reblaze to inspect all requests for the specified destination. This should always be enabled, unless there is a specific reason not to do so.                                                                                                        |
| **WebSocket**      | Enables support for the WebSocket protocol for this resource.                                                                                                                                                                                                                 |
| **Cache Mode**     | Defines Reblaze’s cache behavior for the resources specified in this profile. Modes are explained here: [Controlling Caching Behavior](https://waap.docs.link11.com/v2.12.0/using-the-product/how-do-i.../cache-modes).                                                       |
| **Client TTL**     | Custom expiration time for the Client Side cache, in [TTL Expression Syntax](https://waap.docs.link11.com/v2.12.0/reference-information-1/custom-ttl-values). (Entries will show as strikethroughs when the Cache Mode is set to an option where the TTL values are ignored.) |
| **CDN TTL**        | Custom expiration time for the CDN Side cache, in [TTL Expression Syntax](https://waap.docs.link11.com/v2.12.0/reference-information-1/custom-ttl-values). (Entries will show as strikethroughs when the Cache Mode is set to an option where the TTL values are ignored.)    |
| **Purge  Content** | Purges the cache and removes its content. See explanation below.                                                                                                                                                                                                              |

## Purge Cache

If you'd like to clear cache on one of your websites on the platform, you can click the "Purge" button. Usually, the action takes around 5 minutes.&#x20;

{% embed url="<https://youtu.be/4ZpJTpTrKQc>" %}
