mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 22:53:43 +08:00
0fb497eb23
Discourse.cache is a more consistent method to use and offers clean fallback if you are skipping redis This is part of a larger change that both optimizes Discoruse.cache and omits use of setex on $redis in favor of consistently using discourse cache Bench does reveal that use of Rails.cache and Discourse.cache is 1.25x slower than redis.setex / get so a re-implementation will follow prior to porting |
||
---|---|---|
.. | ||
bench.rb |