Sometimes the program wants the cache to be enabled in development mode:
Solution: Add cache.enabled to xitrum.conf:
# Simple in-memory cache
maxElems = 10000
# - Commented out: Cache is automatically disabled in development mode,
# and enabled in production mode.
# - enabled = true: Force cache to be enabled even in development mode.
# - enabled = false: Force cache to be disabled even in production mode.
enabled = true
This is similar to config.action_controller.perform_caching = true of Rails.
config.action_controller.perform_caching = true
Fix #481 Allow enabling cache in development mode
#481 DualConfig works with config with only one entry