Skip to content

[FEATURE] General cache location for stadium image in Area Sizer #2440

Description

@sgcr

Is your feature request related to a problem? Please describe.
As described in #2409 there is the need for a cache mechanism of the stadium image.

Describe the solution you'd like
The idea is provide a cache that is valid for 24 hours after the last download for a specific URL, so that the traffic to Hattrick on each start of the program when the Arena Sizer is used.

Additional context
The question is where the cache should be and shall be discussed in that issue.
I see these two options:

  • users home directory: I saw System.getProperty("user.home") + "/.ho" for Linux, System.getProperty("user.home") + "/Library/Application Support/HO" for Mac and System.getenv("AppData") + "/HO" for everything else which means Windows effectively.
  • database: which means we have a table with rows and columns that provides the data

Metadata

Metadata

Assignees

Labels

module: ApplicationIf there is no specific module and when it is a general thing of the application.
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions