forgejo/docs/content/doc/advanced
zeripath e0853d4a21
Add API Token Cache (#16547)
One of the issues holding back performance of the API is the problem of hashing.
Whilst banning BASIC authentication with passwords will help, the API Token scheme
still requires a PBKDF2 hash - which means that heavy API use (using Tokens) can
still cause enormous numbers of hash computations.

A slight solution to this whilst we consider moving to using JWT based tokens and/or
a session orientated solution is to simply cache the successful tokens. This has some
security issues but this should be balanced by the security issues of load from
hashing.

Related #14668

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2021-08-17 14:30:42 -04:00
..
adding-legal-pages.en-us.md Update documentation to reflect #15219 (#16442) 2021-07-15 20:49:12 +01:00
clone-filter.en-us.md
cmd-embedded.en-us.md
config-cheat-sheet.en-us.md Add API Token Cache (#16547) 2021-08-17 14:30:42 -04:00
config-cheat-sheet.zh-cn.md
customizing-gitea.en-us.md docs: fix various typos and translate to french (#16477) 2021-07-18 12:21:32 -04:00
customizing-gitea.zh-cn.md Update documentation to reflect #15219 (#16442) 2021-07-15 20:49:12 +01:00
environment-variables.en-us.md
environment-variables.zh-cn.md
external-renderers.en-us.md Update documentation to reflect #15219 (#16442) 2021-07-15 20:49:12 +01:00
hacking-on-gitea.zh-cn.md
logging-documentation.en-us.md
mail-templates-us.md
make.fr-fr.md docs: fix various typos and translate to french (#16477) 2021-07-18 12:21:32 -04:00
make.zh-cn.md
protected-tags.en-us.md
repo-indexer.en-us.md
repo-mirror.en-us.md
search-engines-indexation.en-us.md
signing.en-us.md
third-party-tools.zh-cn.md