# This file is for reference only. Actual settings for the production
# environment are stored in the build configuation block in config.rb.
#
# https://middlemanapp.com/basics/upgrade-v4/#environments-and-changes-to-configure-blocks

# This file is for reference only. Actual settings for the production
# environment are stored in the build configuation block in config.rb.
#
# https://middlemanapp.com/basics/upgrade-v4/#environments-and-changes-to-configure-blocks

activate :asset_host, host: "https://d1uwlk5da5dexa.cloudfront.net"
activate :asset_hash

# https://github.com/fredjean/middleman-s3_sync#http-caching
default_caching_policy max_age: (60 * 60 * 24 * 365)
caching_policy "text/html", public: true, max_age: 0, must_revalidate: true

Implement asset hashing and pull assets straight from Cloudfront
Implement asset hashing and pull assets straight from Cloudfront
