> ## 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).

# WP Compress Performance - Official Bot Documentation

# WP Compress - Official Bot Documentation  

## Bot Name  
**WP Compress Performance Bot**  

---

## Purpose  
The **WP Compress Performance Bot** automates **Critical CSS generation** and **performance optimization**. It ensures optimal user experiences by dynamically improving website speed, loading critical assets efficiently, and enabling smart optimizations.  

---

## User-Agent Information  
To ensure uninterrupted service, please allow the following **User-Agent strings**:  


```markdown
WP-Compress/SaaS Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 
```

```markdown
WP-Compress/SaaS Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/129.0.6668.69 Mobile/15E148 Safari/604.1
```

---

## IP Addresses  
The bot operates from a predefined set of IP addresses. These IPs must be whitelisted to ensure smooth communication and **Critical CSS generation** functionality.  

### IP List  
[https://wpcompress.com/ip-list.txt](https://wpcompress.com/ip-list.txt)  

---

## rDNS Information  
IP addresses used by wpcompress.com resolve to rDNS names in the format api.wpcompress.com. To simplify firewall configurations and ensure you're whitelisting the correct IP addresses, you can whitelist IPs based on the domain *.wpcompress.com by resolving the rDNS of our IPs.


---

## Verification and Operation  
The WP Compress Bot adheres to the following principles:  
1. **Performance Optimization**: Focused exclusively on Critical CSS generation and asset delivery when enabled by users.  
2. **Authorized Requests**: Communicates only with websites explicitly using WP Compress services.  
3. **Non-Intrusive Behavior**: Does not scrape, spam, or interfere with website data beyond the scope of performance optimization.  

---

## Troubleshooting  
If you encounter issues such as:  
- **Critical CSS Blocked**  
- **“Unable to Optimize Assets”**  
- **“Communication Errors”**  

Follow these steps:  
1. Whitelist the **User-Agent strings** (provided above).  
2. Whitelist the **IP Addresses**: [https://wpcompress.com/ip-list.txt](https://wpcompress.com/ip-list.txt).  
3. Whitelist the **rDNS**: `*.wpcompress.com` by resolving IPs to ensure correct whitelisting.  

This ensures uninterrupted operation and smooth communication between your website and WP Compress servers.  

---

## Contact Information  
For support or validation inquiries, please contact:  

- **Email**: [support@wpcompress.com](mailto:support@wpcompress.com)  
- **Website**: [https://wpcompress.com/support/](https://wpcompress.com/support/)  
