Set Up CloudFront CDN in LiteSpeed Cache for WordPress

  1. Get your CloudFront Domain Name
  2. Make sure your site can be visited directly through the CloudFront Domain Name

  1. From the WP Dashboard, navigate to LiteSpeed Cache > Settings > CDN.
  2. Set Enable CDN to ON
  3. Enter CDN URL as your CloudFront Domain Name
  4. Enable the relevant Include buttons. e.g. Images and CSS. For this example, if we don't Include JS, then we also need to remove .js from Include File Types
  5. Set up Original URL as your original domain name (and sub-folder if you are using one)

Check that the CSS is served from CloudFront

Check that the JS is served from the original domain

  • Admin
  • Last modified: 2018/04/03 15:37
  • by Lisa Clarke