The Behavior settings control what CloudFront will do with the response it gets from the Origin (your site).

  1. Scroll to the Default Cache Behavior Settings section.
  2. For Cache and origin request settings choose Use legacy cache settings.
  3. For Query String Forwarding and Caching, select Forward all, cache based on all.
    This is necessary to ensure the proper version of an asset is served when WordPress, plugins and themes are updated.
  4. For Compress Objects Automatically, choose Yes.
    CloudFront will serve compressed versions of your assets to browsers that support it and uncompressed versions to browsers that don't. This can significantly reduce the size of the data needed to be downloaded by the browser making for faster load times.