I'm setting up CDN for my WordPress site using Amazon CloudFront. I've successfully set this up wp-uploads folder.
Now when I check my website performance on GTmetrix, I see the following types of files remaining to be served from the CDN:
https://mysite/wp-includes/*/*.js?ver=1.2.3https://mysite/wp-content/plugins/some-plugin/*/*.js?ver=1.2.3https://mysite/wp-content/themes/my-theme/*.js?ver=1.2.3https://mysite/wp-content/cache/busting/something/*js
Now I need to know whether it's a good thing to upload my complete plugins wp-includes, wp-content/plugins, wp-content/themes/my-theme folder to the S3 bucket (my CloudFront source)?
More generally when setting up CDN for your WordPress site, what all folder should I upload to my CloudFront source?
My aim is to serve all these files from the CDN.