I have W3TC setup with amazon cloudfront using multiple subdomains / CNAME's for different minified file sets i.e..
cdn.css.mysite.com - CSS files
cdn.jshead.mysite.com - JS <header> files
cdn.jsab.mysite.com - JS after <body> files
cdn.jsbb.mysite.com - JS before </body> files
cdn.mysite.com - all other files
These are all setup in my DNS zone CNAME records to point to my amazons CDN bucket: myid.cloudfront.net
They have also been added to the distribution settings in cloudfront.
I find that browsers such as FireFox are trying to download the minified JS files, which are being sent via their relevant subdomains instead of executing them.
For example, when I load the site in Firefox I get the following downloads popup.
Don't think I have this setup quite right. Can somebody point me in the right direction.