How to handle the cache system properly?

Some resources for now: