${_('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)} |
Cache keys used for storing cached values of repository stats, file tree history and file tree search. Invalidating the cache will remove those entries.
region: ${c.region.name} backend: ${c.region.actual_backend.__class__} store: ${c.region.actual_backend.get_store()} % if c.repo_keys: ${len(c.repo_keys)} ${_('Show all')} % else: NO KEYS FOUND % endif
${shadow_repo} |
${_('No Shadow repositories exist for this repository.')} |
${_('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)} |