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

Improve the caching layer #28

Open
Alextopher opened this issue Sep 17, 2022 · 0 comments
Open

Improve the caching layer #28

Alextopher opened this issue Sep 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Alextopher
Copy link
Member

There are significant problems with the websever cache I designed. The site is generated via a templating engine that reads the config file and creates the site. The results of the templates are almost always unchanging, only extremely rarely will the underlying config change.

In addition, any future statistics we display will be unchanging in hour intervals which can be cached too. The statistics are likely more important as the database requests could take very long depending on how complicated the queries are. The current cache is not great and should probably be replaced with a key value store. This could simply be a Go map.

@Alextopher Alextopher added the enhancement New feature or request label Sep 17, 2022
@Alextopher Alextopher mentioned this issue Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant