Overview
This article provides recommendations to configure Bunny CDN for non-DreamPress installations under any hosting plan.
Background
A Content Delivery Network (CDN), like Bunny CDN, can significantly improve a website’s performance by caching and delivering static content that is stored closer to site visitors. To ensure optimal performance and avoid caching issues, it is important to configure include and exclude settings based on the type of website you’re running.
Bunny CDN include/exclude recommendations
Below are recommended settings for common website types:
Site type | Recommended includes | Recommended excludes |
---|---|---|
Static Sites (e.g., HTML/CSS/JS-only Sites) |
Static assets such as:
|
None typically needed, unless website content is updated frequently and must be immediately displayed. |
E-commerce Sites (non-WordPress) |
Static assets such as:
Theme and product image folders such as:
|
Cart and checkout pages such as:
Account-related pages such as:
Dynamic content paths such as:
CDN caching on checkout or cart pages can cause stale content or expose user-specific data—always exclude these. |
Web Applications or SaaS Dashboards |
Front-end static files such as:
Common directories such as:
|
User logins paths such as:
API endpoints such as:
Real-time updates such as:
|
Blogs or CMS Platforms (non-WordPress) |
Static files such as:
Theme and folders such as:
|
Admin paths such as:
Comment or form endpoints Dynamic scripts that change content on the fly |
Custom or Hybrid Sites |
Static files such as:
Common folders such as:
Media files such as:
|
Any POST or login-based pages Account, checkout, or admin areas Pages with user-specific or frequently changing content |
WordPress sites
For WordPress-specific recommendations, including recommended include/exclude settings and how to avoid caching sensitive areas such as /wp-admin/ or logged-in sessions, see this article.
Tine-tuning tips
The following recommendations ensure that the configurations you apply provide the most benefit for your website:
- Test changes before applying them globally.
- Use query-string-based exclusions (e.g., *preview=true*) for editorial or CMS preview tools.
- Review CDN logs or analytics to detect unexpected cache behavior.
- Keep dynamic paths excluded and cache only what's truly static.
See also
DreamHost links
Third-party links