Skip to content

New feature: Cache results#1

Open
GammaPi wants to merge 3 commits intowekan:masterfrom
GammaPi:feature-cacheResults
Open

New feature: Cache results#1
GammaPi wants to merge 3 commits intowekan:masterfrom
GammaPi:feature-cacheResults

Conversation

@GammaPi
Copy link
Copy Markdown

@GammaPi GammaPi commented Sep 30, 2022

Currently, one request takes ~10 seconds to respond.
If there are multiple clients requesting at the same time it will cause a long waiting time. Multiple such requests will flood the wekan server.
This PR adds one option: "CACHE_SEC". This helps the user to control how often (in seconds) should ical-server cache results. If multiple clients request within this time frame, the server simply returns a cached result.

By default, CACHE_SEC is -1, which means we do not enable cache feature. So this fix will make default behavior consistent with previous versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant