ontehfritz / api.mtgdb.info

Project closing first of August 2015
http://www.mtgdb.info/
MIT License
36 stars 8 forks source link

Cache everything #2

Closed ontehfritz closed 10 years ago

ontehfritz commented 10 years ago

The database only changes when a new card set is released. The data and images can be safely cached.

ontehfritz commented 10 years ago

Nancy.LightingCache will not bootstrap without errors, trying and old cache lib with no asp.net dependancies. Called GlynnTucker.Cache. I forked it from source forge hasn't been updated since 2008. I compiled it using mono 3.2.1, everything seems fine, I think I may modify it for middleware for nancy. I will keep this open. Until proper testing is done.

ontehfritz commented 10 years ago

GlynTucker.Cache is doing OK. On average a 3 second increase in fetch times when requesting the full card library. I will develop a lib to create a middleware for nancy to do cached responses, and make it more simple to cache based on parameters and query request.