The CDN tab of wp-supercache allows you to exclude files and folders.
[edited to add]
The field exclude if substring
allows entry of a comma separated set of strings (eg .php, wp-include, specialpluginjsfilename
). Any file names that match against this set of values is excluded from the CDN.
So, using the example above the following would be excluded from the CDN
- All .php files
- Any files or any file from any directory that has the string
wp-include
in it - Any file or any file from any directory that has the string
specialpluginjsfilename
in it.
Related Posts:
- How to provide a local fallback for Font Awesome if CDN fails?
- Is it too late to use a CDN? [closed]
- Is it possible to host a WordPress site entirely on Cloudfront?
- How to Setup a CDN for All Content?
- WP-Stateless: Multi Regional Vs Regional Storage
- Store wordpress media completely off my server and on a CDN
- WordPress remote file storage
- Amazon S3 + Cloudfront with WordPress
- how optimize CDN without using plugins
- Warnings even when the WP_DEBUG set to false
- CDN: Origin server URL, WordPress Core files installed in sub-directory
- Using WordPress behind a CloudFront Custom Distribution
- How to know if I have activated Cloudfare successfully?
- Fully caching WordPress site by CDN (eg. Cloudflare)
- I am using CloudFront and Cloudflare at the same time. Is that good? [closed]
- W3 Total Cache, CDN and Custom Post Types
- All my cdn links are automatically set to relative(ie //: instead of http://). why? [closed]
- How should we improve the website speed? [closed]
- Bootstrap 3 Glyphicons CDN
- Is this Solution for Caches vs Cookies Going to Get Me in Trouble?
- How to cache json with wp-super cache
- W3 Total Cache, CDN and theme files [closed]
- Options for CDN with WordPress Including Supporting Plugins?
- Pros and Cons for high “expire time” on wp-super-cache or w3-total-cache? [closed]
- wp enqueue script using scripts from cdn with a safety callback
- Deployment strategies for WP-Supercache [closed]
- How does W3 Total Cache CDN URL rewrites work? [closed]
- Configuring WordPress for Amazon CloudFront Caching?
- How to replace regular jquery calls with CDN calls from Google?
- Disable WordPress cache programmatically on a request [closed]
- COOKIE_DOMAIN setting confusion
- Where should I host my images?
- What is the problem if I use CDN in my WordPress parent theme(built using bootstrap)?
- W3 Total Cache, RackSpace Cloud Files, and Forcing Downloads [closed]
- Plugin that integrates Google Storage with WordPress? [closed]
- WP script versioning breaks cross-site caching?
- Host wp-content on other domain, much like a CDN
- Best image hosting service
- Deregister WordPress jquery on specific page
- Add Font Awesome Embed CDN Script To WordPress
- Varnish + W3 Total Page Cache [closed]
- Lighttpd, WordPress Caching plugin [closed]
- How to exclude a specific template from being cached by a CDN [closed]
- Change Image URL to a CDN
- Change WordPress’ media upload URL?
- Speed up WordPress
- wp-super-cache exclude file from caching
- What is difference between ‘Page Cache’ and ‘Object Cache’ in WordPress?
- Using Multisite with a CDN?
- How can I render shortcode so that its not cached by Caching plugins?
- Empty Super Cache programmatically (with ACF action) [closed]
- Too many redirects when using wp super cache [closed]
- CDN + WP Admin Query – .htaccess redirection
- Changing image URLs in media library
- Change the URL of an image from wp_get_attachment_image_src
- WP Super Cache All Pages [closed]
- Can a WordPress blog be entirely hosted on a CDN if cached?
- Update Custom post field by Ajax on cached site
- Static HTML page caching for large website [closed]
- Host images only on CDN
- Will setcookie work if there is a cache plugin installed?
- Cron and WP Super Cache in Preload Mode
- Enqueueing a script and a style sheet not working
- Comment Moderation and CDN Caching
- How can I revert to showing cached pages when no database connection is available? [closed]
- NGiNX + PHP5-fpm + CDN Tools (plugin) [closed]
- Is It Possible to Upload Certain Attachment Files To A Remote Server
- Jetpack’s photon causes local site to try and serve images from WordPress CDN [closed]
- How do I enable dynamic content in a theme cached with WP Super Cache?
- SuperCache for Custom Templates
- Install and activate plugins across 200 wordpress installations via SSH
- How to configure sub-domain for images on Debian Apache VPS?
- How to serve wp-includes javascripts from CDN? [duplicate]
- change url for static files in /wp-admin with a cdn url
- Change media URL (images)
- Is W3 Total Cache supposed to delete the local files after they are uploaded to CDN? [closed]
- Combine and Minify wp-admin files, also re-write URI’s for CDN
- How does W3 Total Cache Load Images In Stylesheet via CDN? [closed]
- Pages Become “Archive” Instead of Using Page Template
- Wp Super Cache stops the update of a Post Meta
- Fall Back Google CDN in JavaScript
- How reload wordpress page without Cache?
- Wp Super Cache – Function to reset cache of a specific page
- force_ssl_admin() causing issues with preview links
- WP Super Cache – max-age [closed]
- Is my host the problem?
- Storing WordPress Media Library Uploaded files onto a separate domain
- Is it possible to load wp-content/uploads from another server?
- Changes not visible when not logged in
- Is there a way to ensure local fonts load from CDN when CDN is enabled?
- How to add support for caching plugins for my own plugin?
- How to get Caching Plug-ins to work on localhost with HTTPS?
- How to set up the REST API to refer to media on a CDN
- WP REST API and Access-Control-Allow-Origin
- Missing dns-prefetch link when using “nested” wp_register_style
- W3 total – leverage browser caching not working with cdn delivered images [closed]
- Change WordPress Resource URL
- How do you load js and style resources from CDN with local fallback using wp_enqueue_scripts?
- Preventing Canonical Redirect for CDN
- loading javascript CDN with local fallback (not jQuery)