${_('Cache purge can be automated by such api call. Can be called periodically in crontab etc.')}
${h.api_call_example(method='invalidate_cache', args={"repoid": c.rhodecode_db_repo.repo_name})}
${_('Prefix')} | ${_('Key')} | ${_('Active')} |
---|---|---|
${cache.get_prefix() or '-'} | ${cache.cache_key} | ${h.bool2icon(cache.cache_active)} |
${_('Cached diff name')}: | ${c.rhodecode_db_repo.cached_diffs_relative_dir} |
${_('Cached diff files')}: | ${c.cached_diff_count} |
${_('Cached diff size')}: | ${h.format_byte_size(c.cached_diff_size)} |