about summary refs log tree commit diff
path: root/filters/simple-authentication.lua
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2014-02-20 20:59:22 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2014-02-21 01:19:45 +0100
commit6ceba453a27ead382d0116d95bdeb6b6be1149e2 (patch)
tree3a4daf5a4d2fd1c0d158f41b4ea5350596fc25a2 /filters/simple-authentication.lua
parentgit: Update to 1.9.0 (diff)
downloadcgit-pink-6ceba453a27ead382d0116d95bdeb6b6be1149e2.tar.gz
cgit-pink-6ceba453a27ead382d0116d95bdeb6b6be1149e2.zip
Skip cache slot when time-to-live is zero
If time-to-live is set to zero, we don't need to regenerate the cache
slots on every request. Instead, just skip the caching process and
immediately provide the dynamically generated version of the page.
Setting time-to-live to zero is useful when you want to disable caching
for certain pages.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'filters/simple-authentication.lua')
0 files changed, 0 insertions, 0 deletions
span title='2022-02-20 14:37:51 -0500'>2022-02-20Use separate edit buffers for each IDJune McEnroe 2022-02-20Make sure new cap is actually larger than new lengthJune McEnroe 2022-02-20Remove unused mbs.len field from struct EditJune McEnroe 2022-02-19Remove unneeded includes in ui.cJune McEnroe 2022-02-19Reimplement tab completeJune McEnroe 2022-02-19Handle errors from editFn, etc.June McEnroe 2022-02-19Reimplement text macrosJune McEnroe 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe 2022-02-18Implement new line editing "library"June McEnroe 2022-02-18Simplify cursor positioning in inputJune McEnroe 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe