Easily usable and configurable class you can use for caching content from your database