discourse/script/benchmarks
Sam Saffron 14db879a31 DEV: Implement a faster Discourse.cache
This is a bottom up rewrite of Discourse cache to support faster performance
and a limited surface area.

ActiveSupport::Cache::Store accepts many options we do not use, this partial
implementation only picks the bits out that we do use and want to support.

Additionally params are named which avoids typos such as "expires_at" vs "expires_in"

This also moves a few spots in Discourse to use Discourse.cache over setex
Performance of setex and Discourse.cache.write is similar.
2019-12-03 14:03:30 +01:00
..
cache DEV: Implement a faster Discourse.cache 2019-12-03 14:03:30 +01:00
markdown DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
middleware DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
site_setting DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00