Disabling asset_host. turbolinks and asset bundling should be more than enough.

Ideally http2 will improve things...
rails5
echarp 6 years ago
parent 9c515a5cf1
commit 2de8faa870
  1. 2
      config/environments/production.rb
  2. 2
      config/environments/production_be.rb
  3. 2
      config/environments/production_ch.rb
  4. 2
      config/environments/production_communs.rb

@ -62,7 +62,7 @@ Rails.application.configure do
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = 'http://assets.example.com'
config.action_controller.asset_host = '//assets%d.agendadulibre.org'
# config.action_controller.asset_host = '//assets%d.agendadulibre.org'
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to

@ -62,7 +62,7 @@ Rails.application.configure do
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = 'http://assets.example.com'
config.action_controller.asset_host = '//assets%d.agendadulibre.org'
# config.action_controller.asset_host = '//assets%d.agendadulibre.org'
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to

@ -62,7 +62,7 @@ Rails.application.configure do
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = 'http://assets.example.com'
config.action_controller.asset_host = '//assets%d.agendadulibre.org'
# config.action_controller.asset_host = '//assets%d.agendadulibre.org'
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to

@ -62,7 +62,7 @@ Rails.application.configure do
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = 'http://assets.example.com'
config.action_controller.asset_host = '//assets%d.agendadulibre.org'
# config.action_controller.asset_host = '//assets%d.agendadulibre.org'
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to

Loading…
Cancel
Save