Skip to content

/download_template endpoint caching #1768

@ivnglkv

Description

@ivnglkv

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions