aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/erb_util_test.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2019-03-14 11:33:28 -0700
committerJohn Hawthorn <john@hawthorn.email>2019-03-15 09:20:05 -0700
commitd445ceb9b51ce87a306f331c643808312bd740e5 (patch)
tree00d4d9d9bb9fa2c81b41446648c2ff03944e9527 /actionview/test/template/erb_util_test.rb
parent43fc7b476b483a89dacf9964ccf288f6bc6e1595 (diff)
downloadrails-d445ceb9b51ce87a306f331c643808312bd740e5.tar.gz
rails-d445ceb9b51ce87a306f331c643808312bd740e5.tar.bz2
rails-d445ceb9b51ce87a306f331c643808312bd740e5.zip
Make Template::Resolver always cache
All actionview caches are already cleared at the start of each request (when Resolver.caching is false) by PerExecutionDigestCacheExpiry, which calls LookupContext::DetailsKey.clear (which clears all caches). Because caches are always cleared per-request in dev, we shouldn't need this extra logic to compare mtimes and conditionally reload templates. This should make templates slightly faster in development (particularly multiple renders of the same template)
Diffstat (limited to 'actionview/test/template/erb_util_test.rb')
0 files changed, 0 insertions, 0 deletions