class TrustyCms::Config

def stale_cache?

def stale_cache?
  return true unless TrustyCms::Config.cache_file_exists?
  Rails.cache.read('TrustyCms.cache_mtime') != File.mtime(cache_file)
end