```ruby
###
# Compass
###

# Change Compass configuration
# compass_config do |config|
#   config.output_style = :compact
# end

###
# Helpers
###

# Automatic image dimensions on image_tag helper
# activate :automatic_image_sizes

# Reload the browser automatically whenever files change
configure :development do
  activate :livereload
end

# Activate extension for Bourbon Sass mixins
activate :bourbon

set :css_dir, 'stylesheets'

set :js_dir, 'javascripts'

set :images_dir, 'images'

# Build-specific configuration
configure :build do
  activate :minify_html

  # For example, change the Compass output style for deployment
  activate :minify_css

  # Minify Javascript on build
  activate :minify_javascript

  # Enable cache buster
  # activate :asset_hash

  # Use relative URLs
  # activate :relative_assets

  # Or use a different image path
  # set :http_prefix, "/Content/images/"
end

# Gzip files
activate :gzip

# Compress images
activate :imageoptim do |options|
  options.pngout = false
  options.svgo = false
end

# For s3 sync for deploying with middleman build
activate :s3_sync do |config|
  config.bucket = 'support.texastribune.org'
  config.region = 'us-east-1'
  config.aws_access_key_id = ENV['AWS_ACCESS_KEY']
  config.aws_secret_access_key = ENV['AWS_ACCESS_SECRET']
  # Set this to true to deploy to s3
  config.after_build = false
end
```

Enable asset hashing of files; set default caching policy on newly created s3 files
user
```ruby
# Reload the browser automatically whenever files change
configure :development do
  activate :livereload
end

# Activate extension for Bourbon Sass mixins
activate :bourbon

set :css_dir, 'stylesheets'

set :js_dir, 'javascripts'

set :images_dir, 'images'

# Build-specific configuration
configure :build do
  activate :minify_html

  # For example, change the Compass output style for deployment
  activate :minify_css

  # Minify Javascript on build
  activate :minify_javascript

  # Enable cache buster asset hashing of files
  activate :asset_hash
end

# Gzip files
activate :gzip

# Compress images
activate :imageoptim do |options|
  options.pngout = false
  options.svgo = false
end

# For s3 sync for deploying with middleman build
activate :s3_sync do |config|
  config.bucket = 'support.texastribune.org'
  config.region = 'us-east-1'
  config.aws_access_key_id = ENV['AWS_ACCESS_KEY']
  config.aws_secret_access_key = ENV['AWS_ACCESS_SECRET']
  # Set this to true to deploy to s3
  config.after_build = false
end

# add default caching policy to all files
default_caching_policy max_age:(60 * 60 * 24 * 365)
```
assistant