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

Optimization: move email templates from site.config to it's own field #247

Open
nlsvgtr opened this issue Sep 23, 2022 · 0 comments
Open

Comments

@nlsvgtr
Copy link
Collaborator

nlsvgtr commented Sep 23, 2022

It would be nice to move email templates from the site config to a new field.

site.config is a json field with a lot of data. All this data is requested from the database again and again.

The email templates are currently stored in site.config. This means that these templates are also requested from the database again and again. But this data is hardly ever used.

Moving these templates to another field in the site table, and only request those fields when required, would significantly reduce ttraffic between the API and database server, and between the API and the frontend server.

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

No branches or pull requests

1 participant