Skip to content

Instantly share code, notes, and snippets.

@gfaraj
Created April 5, 2013 02:05
Show Gist options
  • Save gfaraj/5316050 to your computer and use it in GitHub Desktop.
Save gfaraj/5316050 to your computer and use it in GitHub Desktop.
Yupp::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
config.cache_classes = true
# 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 = false
# Compress JavaScripts and CSS
config.assets.compress = true
# Don't fallback to assets pipeline if a precompiled asset is missed
config.assets.compile = true
#config.assets.initialize_on_precompile = false
# Generate digests for assets URLs
config.assets.digest = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment