0

ここに私の Development.rb ファイルがあります

  # In the development environment your application's code is reloaded on
  # every request. This slows down response time but is perfect for development
  # since you don't have to restart the web server when you make code changes.
  config.cache_classes = false

  # Log error messages when you accidentally call methods on nil.
  config.whiny_nils = true

  # Show full error reports and disable caching
  config.consider_all_requests_local       = true
  config.action_controller.perform_caching = false
  config.assets.digest = true
  config.serve_static_assets = false

なんらかの理由で開発環境でも CSS ファイルがキャッシュされており、その理由がわかりません

4

2 に答える 2

1

アセットをプリコンパイルしましたか? その場合は、パブリック アセット フォルダーを確認して削除します。

/tmp/cache/assets をクリアしてみてください

ブラウザーが application.css をキャッシュしていないことを確認し、強制的に更新するなど

于 2013-08-06T14:51:30.983 に答える