1
0
Fork 0
forked from forgejo/forgejo
forgejo-domi/docs/content/doc/advanced
zeripath e0853d4a21
Add API Token Cache ()
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 

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 () 2021-07-15 20:49:12 +01:00
clone-filter.en-us.md [Docs] Clone filters () 2021-02-03 10:11:20 -05:00
cmd-embedded.en-us.md Reformat docs () 2020-12-09 07:47:06 +01:00
config-cheat-sheet.en-us.md Add API Token Cache () 2021-08-17 14:30:42 -04:00
config-cheat-sheet.zh-cn.md Change @every 24h default schedules to @midnight () 2021-07-15 11:55:48 -04:00
customizing-gitea.en-us.md docs: fix various typos and translate to french () 2021-07-18 12:21:32 -04:00
customizing-gitea.zh-cn.md Update documentation to reflect () 2021-07-15 20:49:12 +01:00
environment-variables.en-us.md Update docs and comments to remove macaron () 2021-01-29 16:35:30 +01:00
environment-variables.zh-cn.md Update docs and comments to remove macaron () 2021-01-29 16:35:30 +01:00
external-renderers.en-us.md Update documentation to reflect () 2021-07-15 20:49:12 +01:00
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part () 2018-10-17 14:21:20 +03:00
logging-documentation.en-us.md Fix various documentation, user-facing, and source comment typos () 2021-07-08 13:38:13 +02:00
mail-templates-us.md Fix documentation for the fallback mail subject () 2021-03-31 11:36:21 -04:00
make.fr-fr.md docs: fix various typos and translate to french () 2021-07-18 12:21:32 -04:00
make.zh-cn.md Reformat docs () 2020-12-09 07:47:06 +01:00
protected-tags.en-us.md Fix various documentation, user-facing, and source comment typos () 2021-07-08 13:38:13 +02:00
repo-indexer.en-us.md Reformat docs () 2020-12-09 07:47:06 +01:00
repo-mirror.en-us.md Add push to remote mirror repository () 2021-06-14 19:20:43 +02:00
search-engines-indexation.en-us.md Reformat docs () 2020-12-09 07:47:06 +01:00
signing.en-us.md Specify relation between multiple signing options () 2021-04-15 18:06:32 +02:00
third-party-tools.zh-cn.md Reformat docs () 2020-12-09 07:47:06 +01:00