${_('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})}
Cache keys used to signal repository state changes after operations such as push, strip etc.
${_('Key')} | ${_('State UID')} | ${_('Namespace')} | ${_('Active')} |
---|---|---|---|
${cache.cache_key} |
${cache.cache_state_uid} |
${cache.cache_args} |
${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.
backend: ${c.region.actual_backend.__class__} % if c.rhodecode_user.is_admin: store: ${c.region.actual_backend.get_store()} % else: store: ${c.region.actual_backend.get_store().__class__} % endif
${shadow_repo} |
${_('No Shadow repositories exist for this repository.')} |
Number and size of stored cached diff for commits and pull requests.
${_('Cached diff name')}: | % if c.rhodecode_user.is_admin:${c.rhodecode_db_repo.cached_diffs_dir} | % else:${c.rhodecode_db_repo.cached_diffs_relative_dir} | % endif
${_('Cached diff files')}: | ${c.cached_diff_count} | |
${_('Cached diff size')}: | ${h.format_byte_size(c.cached_diff_size)} |