mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 14:25:15 +00:00
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>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
8033dc01f4
commit
6ceba453a2
Reference in New Issue
Block a user