aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/head.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2010-10-10 09:24:17 +0200
committerJosé Valim <jose.valim@gmail.com>2010-10-10 09:26:53 +0200
commit38d78f99d52801d8392a7229b40edae74cc3d142 (patch)
tree1526a3dd884ec1cadb287b8c8a54dbe160201d19 /actionpack/lib/action_controller/metal/head.rb
parentc7408a0e40545558872efb4129fe4bf097c9ce2f (diff)
downloadrails-38d78f99d52801d8392a7229b40edae74cc3d142.tar.gz
rails-38d78f99d52801d8392a7229b40edae74cc3d142.tar.bz2
rails-38d78f99d52801d8392a7229b40edae74cc3d142.zip
Resolvers now consider timestamps.
Before this patch, every request in development caused the template to be compiled, regardless if it was updated in the filesystem or not. This patch now checks the timestamp and only compiles it again if any change was done. While this probably won't show any difference for current setups, but it will be useful for asset template handlers (like SASS), as compiling their templates is slower than ERb, Haml, etc.
Diffstat (limited to 'actionpack/lib/action_controller/metal/head.rb')
0 files changed, 0 insertions, 0 deletions