diff --git a/Gemfile b/Gemfile index 9ccb7dbdd03..fe6d897ee18 100644 --- a/Gemfile +++ b/Gemfile @@ -118,6 +118,9 @@ gem "sprockets", :git => "git://github.com/SamSaffron/sprockets.git", :branch => # ActiveRecord, this may change in the future gem 'fast_blank' #, github: "SamSaffron/fast_blank" +# this provides a very efficient lru cache +gem 'lru_redux' + # IMPORTANT: mini profiler monkey patches, so it better be required last # If you want to amend mini profiler to do the monkey patches in the railstie # we are open to it. by deferring require to the initializer we can configure disourse installs without it diff --git a/Gemfile.lock b/Gemfile.lock index 75ad4513f8d..b75d4b98d65 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -251,6 +251,7 @@ GEM thor (~> 0.15) libv8 (3.11.8.17) listen (0.7.2) + lru_redux (0.0.6) lumberjack (1.0.2) mail (2.4.4) i18n (>= 0.4.0) @@ -511,6 +512,7 @@ DEPENDENCIES jquery-rails jshint_on_rails librarian (>= 0.0.25) + lru_redux message_bus! minitest mocha