> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.wpcompress.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How can I exclude an image, asset or script?

# How can I exclude an image, asset or script?

To exclude an image, asset or other file type from the CDN, delay JS, critical CSS or any other applicable setting, simply go into your plugin settings panel or portal and click the tab of what you'd like to exclude:


![](https://storage.crisp.chat/users/helpdesk/website/49a2bcd521bcc400/screen-shot-2022-12-21-at-1032_ojta6u.png)

In this example, we'll pick CDN Delivery - from there, click the **GEAR ICON**

![](https://storage.crisp.chat/users/helpdesk/website/49a2bcd521bcc400/screen-shot-2022-12-21-at-1034_croudi.png)

Then exclude the file or keyword you'd like to:


![](https://storage.crisp.chat/users/helpdesk/website/49a2bcd521bcc400/screen-shot-2022-12-21-at-1036_1cpaz55.png)

This could be a keyword such as **theme** or **plugins** or even a specific file such as **logo.png** it will exclude ALL files with that keyword, so the more specific the more limiting you are.

You can then do the same to exclude from any other available section, simply click the gear icon as needed!


###### Examples:

* .svg would exclude all assets with that extension
* imagename would exclude any file with that name 
* /myplugin/image.jpg would exclude that specific file
* /wp-content/myplugin/ would exclude everything using that path

|| We offer wildcard exclusion where you can simply enter .jpg to exclude all jpgs... but you should never really need to to past image.jpg :D