agateblue / lifter

A generic query engine, inspired by Django ORM
ISC License
449 stars 16 forks source link

Implement a caching mechanism #39

Open agateblue opened 8 years ago

agateblue commented 8 years ago

It would be great to implement caching on various to minimize IO operations.

agateblue commented 8 years ago

My first implementation was kind of dummy, the hooks for getting / settings a cache value are not at the proper place. Instead of caching the final result (model instances, and so on, we should cache the underlying backend (SQL, http...) response.