Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimise package template / caching #513

Merged
merged 3 commits into from
Jul 22, 2024

Conversation

jelly
Copy link
Member

@jelly jelly commented Jul 20, 2024

No description provided.

jelly added 3 commits July 20, 2024 17:47
`{% include %}` is known to be slow and should be avoided, it directly
translates into a Template.render() call, so for the glibc package the
render calls go down from 3400 => 6.
Logged in users can edit the page so the content should not be cached,
for non-logged in users we are happy to cache this page in nginx.
This page is requested often by TT-RS, slackbot and others, cache it.
@jelly jelly force-pushed the optimise-package-template branch 2 times, most recently from 8c0fdcb to 86d624d Compare July 20, 2024 17:05
@jelly jelly force-pushed the optimise-package-template branch 2 times, most recently from 6edcaaa to 1101323 Compare July 22, 2024 18:56
@jelly jelly merged commit b51329e into archlinux:master Jul 22, 2024
2 checks passed
@jelly jelly deleted the optimise-package-template branch July 22, 2024 18:59
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