
Settings Page: Configure assets CDN, image optimization, and Google Fonts privacy proxy.
StaticDelivr CDN is a lightweight and powerful plugin designed to improve your WordPress site’s performance. By rewriting theme, plugin, core file resource URLs, optimizing images, and proxying Google Fonts through the StaticDelivr CDN, the plugin ensures faster loading times, reduced server load, better privacy, and an improved user experience.
StaticDelivr is a global content delivery network (CDN) that supports delivering assets from various platforms like npm, GitHub, and WordPress. By leveraging geographically distributed servers, StaticDelivr optimizes the delivery of your static assets such as CSS, JavaScript, images, and fonts.
This plugin relies on the StaticDelivr CDN to deliver static assets, including WordPress themes, plugins, core files, optimized images, and Google Fonts. The CDN uses the public WordPress SVN repository to fetch theme/plugin files and serves them through a globally distributed network for faster performance and reduced bandwidth costs.
StaticDelivr CDN rewrites your WordPress asset URLs to deliver them through its high-performance network:
The plugin automatically verifies which themes and plugins exist on wordpress.org:
This means the plugin “just works” with any combination of wordpress.org and custom themes/plugins!
The plugin learns from CDN failures and automatically adapts:
This ensures that problematic resources (Cloudflare-protected images, auth-gated content, etc.) are handled gracefully without repeated failures.
This process applies to themes, plugins, and core files:
Themes:
Original: `https://example.com/wp-content/themes/twentytwentythree/1.0/style.css`
CDN: `https://cdn.staticdelivr.com/wp/themes/twentytwentythree/1.0/style.css`
Plugins:
Original: `https://example.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js`
CDN: `https://cdn.staticdelivr.com/wp/plugins/woocommerce/tags/9.3.3/assets/js/frontend/woocommerce.min.js`
Core Files:
Original: `https://example.com/wp-includes/js/jquery/jquery.min.js`
CDN: `https://cdn.staticdelivr.com/wp/core/tags/6.9/wp-includes/js/jquery/jquery.min.js`
Privacy Proxy: `https://cdn.staticdelivr.com/gfonts/css2?family=Inter:wght@400;500;600&display=swap`
Original Font Files: `https://fonts.gstatic.com/s/inter/v20/example.woff2`
This ensures faster delivery through StaticDelivr’s globally distributed network while protecting user privacy.
StaticDelivr CDN is available in the following languages:
Want to help translate StaticDelivr CDN into your language? Visit translate.wordpress.org to contribute!
This plugin is licensed under the GPLv2 or later. See License URI for details.