discourse/script
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
..
benchmarks DEV: Implement a faster Discourse.cache 2019-12-03 14:03:30 +01:00
bulk_import FEATURE: English locale with international date formats 2019-05-20 13:47:20 +02:00
demon_test DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
import_scripts DEV: Improvements to AnswerHub import script. 2019-06-13 11:46:17 +05:30
.gitignore improvements to the mbox import script 2017-11-18 17:16:44 +01:00
alice.txt more progress towards live unread and new counts, unread message implemented, still to implement delete messages 2013-05-30 16:49:57 +10:00
analyze_sidekiq_queues.rb correct type 2019-05-22 12:28:17 +10:00
bench.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
boot_mem.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
cache_critical_dns FIX: cache_critical_dns was never caching pg replica (#7461) 2019-04-30 08:42:51 +08:00
check_forking.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
compile_hbs.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
diff_heaps.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
discourse DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
docker_test.rb datetime is not available at this point (#7630) 2019-05-29 14:06:32 +02:00
downsize_uploads.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
measure.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
memory-analysis DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
memstats.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
micro_bench.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
mwrap_sidekiq DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
plugin-translations.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
profile_db_generator.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
pull_translations.rb FEATURE: English locale with international date formats 2019-05-20 13:47:20 +02:00
push_translations.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
rails DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
redis_memory.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
require_profiler.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
switch_container_ruby DEV: add script to switch ruby version from inside container 2019-03-25 17:41:24 +11:00
test_email_settings.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
test_hbs_compiler.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
test_mem.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
test_pretty_text.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
theme-watcher DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
user_simulator.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
version_bump.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00