Skip to content

Instantly share code, notes, and snippets.

@ChadMoran
Created October 16, 2011 16:15
Show Gist options
  • Save ChadMoran/1291089 to your computer and use it in GitHub Desktop.
Save ChadMoran/1291089 to your computer and use it in GitHub Desktop.
# Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = true
config.static_cache_control = "public, max-age=31556926"
# Compress JavaScripts and CSS
config.assets.compress = true
# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = true
# Generate digests for assets URLs
config.assets.digest = true
@stephan-buckmaster
Copy link

Oh ok, and benchmark/comparison with "ordinary heroku"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment