【发布时间】:2013-08-06 14:43:18
【问题描述】:
这是我的 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 文件也被缓存了,我不知道为什么
【问题讨论】:
-
这里已经回答了这个问题:stackoverflow.com/questions/2462889/…
标签: ruby-on-rails asset-pipeline