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

/download_template endpoint caching #1768

Open
ivnglkv opened this issue Aug 27, 2024 · 0 comments
Open

/download_template endpoint caching #1768

ivnglkv opened this issue Aug 27, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ivnglkv
Copy link

ivnglkv commented Aug 27, 2024

Problem statement/business needs:

Every time plugin connects to the backend it issues a request to /download_template endpoint. That endpoint downloads and returns in response a file from GitHub. The problem is that template is basically static and downloading it every time is a waste of time and resources. So it could be cached for some time.

Definitions of Done:

  • Downloaded files on /download_template are cached
  • Subsequent requests for the same files return files from cache if it is not expired
  • Cache TTL is 24 hours
  • Cache is cleared on application restart

Dependencies or related tasks:

N/A

Comments:

N/A

@ivnglkv ivnglkv added the enhancement New feature or request label Aug 27, 2024
@github-project-automation github-project-automation bot moved this to BackLog in JDN.AI Board Aug 27, 2024
@ivnglkv ivnglkv added this to the Release 3.17 milestone Aug 27, 2024
@ivnglkv ivnglkv moved this from BackLog to To do in JDN.AI Board Aug 27, 2024
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
Status: In progress
Development

No branches or pull requests

2 participants