Module: Optify::CacheMode

Defined in:
lib/optify_ruby/cache_init_options.rb

Overview

The mode for the cache.

Constant Summary collapse

NOT_THREAD_SAFE =

Non-thread-safe LRU cache. Should be faster than ‘THREAD_SAFE` for single-threaded applications.

:not_thread_safe
THREAD_SAFE =

Thread-safe LRU cache.

:thread_safe