Using wp-super-cache and amazon cloudfront – can I serve a file directly (no cdn)? [closed]

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.

tech