Sha256: cf622fdc1caa251770f941e4c74a70479b4ae0636be6b6f12d269120af635238
Contents?: true
Size: 1.38 KB
Versions: 3
Compression:
Stored size: 1.38 KB
Contents
require File.join(File.dirname(__FILE__), 'gems') require 'cachetastic' configatron.mack.caching.set_default(:use_page_caching, false) configatron.cachetastic_default_options.set_default(:debug, false) configatron.cachetastic_default_options.set_default(:adapter, :local_memory) configatron.cachetastic_default_options.logging.logger_1.set_default(:type, 'file') configatron.cachetastic_default_options.logging.logger_1.set_default(:file, Mack::Paths.log('cachetastic.log')) if Mack.env == "production" configatron.cachetastic_caches_mack_session_cache_options.set_default(:debug, false) configatron.cachetastic_caches_mack_session_cache_options.set_default(:adapter, :file) configatron.cachetastic_caches_mack_session_cache_options.store_options.set_default(:dir, Mack::Paths.tmp) configatron.cachetastic_caches_mack_session_cache_options.set_default(:expiry_time, 14400) configatron.cachetastic_caches_mack_session_cache_options.logging.logger_1.set_default(:type, 'file') configatron.cachetastic_caches_mack_session_cache_options.logging.logger_1.set_default(:file, Mack::Paths.log("cachetastic_caches_mack_session_cache.log")) end require File.join(File.dirname(__FILE__), "mack-caching", "sessions", "cachetastic_session_store") require File.join(File.dirname(__FILE__), "mack-caching", "errors") require File.join(File.dirname(__FILE__), "mack-caching", "page_caching", "page_caching")
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mack-caching-0.8.2 | lib/mack-caching.rb |
mack-caching-0.8.3 | lib/mack-caching.rb |
mack-caching-0.8.3.1 | lib/mack-caching.rb |