${_('Cache purge can be automated by such api call called periodically (in crontab etc)')}
curl ${h.route_url('apiv2')} -X POST -H 'content-type:text/plain' --data-binary '{"id":1, "auth_token":"SECRET", "method":"invalidate_cache", "args":{"repoid":"${c.repo_info.repo_name}"}}'
${_('Prefix')} | ${_('Key')} | ${_('Active')} |
---|---|---|
${cache.get_prefix() or '-'} | ${cache.cache_key} | ${h.bool2icon(cache.cache_active)} |