openeduhub / metalookup

Provide metadata about domains w.r.t accessibility, licencing, adds, etc.
GNU General Public License v3.0
5 stars 0 forks source link

Api data model & Caching #100

Closed MRuecklCC closed 2 years ago

MRuecklCC commented 2 years ago

Further simplifications of the data models and reimplementation (prototype) of caching as decorator / middleware

MRuecklCC commented 2 years ago

The implementation of the caching is heavily adopted from https://github.com/long2ice/fastapi-cache. Unortunately, we cannot directly use that package because:

While the functionality is tested via some rather trivial unit tests I would like to give it a more thorough testing on real data. Then we can also see if the caching actually has the desired effect on performance.