0
votes

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:

  1. https://mysite/wp-includes/*/*.js?ver=1.2.3
  2. https://mysite/wp-content/plugins/some-plugin/*/*.js?ver=1.2.3
  3. https://mysite/wp-content/themes/my-theme/*.js?ver=1.2.3
  4. https://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.

1

1 Answers

0
votes

Install w3 total cache plugin and use cloudflare free cdn service for it. After setting up cloudflare cdn you need to change your domain name servers to the cloudflare one.

Hope this will help you.