KnossosNET / Knossos.NET

Repository for the Knossos.NET launcher, currently in development.
GNU General Public License v3.0
21 stars 10 forks source link

Implement temporal cache for nebula "mod/json" GET calls #192

Closed Shivansps closed 1 month ago

Shivansps commented 1 month ago

This PR adds a Nebula cache for the "mod/json//" calls, this call returns the mod json stored in nebula. Now this modjson is saved in memory as a string so if another request to get the same modID/Version data is done the data will be served from the one saved in memory, effectively saving doing a api call and speeding up things in situacions were this usually happens, like repeately opening up mod update/modify/install.